html:
<scroll-view scroll-y="true" style="height:500px" bindscroll="scrollMove">
<view>
<view
class="scroll-view-item"
v-for="(item, index) in imgList"
:key="index"
>
<image :src="item.url" mode="widthFix"></image>
</view>
</view>
</scroll-view>
js:
methods: {
scrollMove: function(event: any) {
},
}
控制台一直提示:does not have a method "scrollMove" to handle event "scroll".
看上去好像uniapp,但是uniapp的scrollview是通过@scroll来绑定的。