使用uniapp的nvue开发,list中使用loadmore触发上拉刷新,需要重置报错:
this.$refs.list.resetLoadmore is not a function
把
this.$refs["list"].resetLoadmore();
修改为
this.$refs.list[0].resetLoadmore();
就可以了
使用uniapp的nvue开发,list中使用loadmore触发上拉刷新,需要重置报错:
this.$refs.list.resetLoadmore is not a function
把
this.$refs["list"].resetLoadmore();
修改为
this.$refs.list[0].resetLoadmore();
就可以了