mounted () {
this.mescroll = this.$refs.mescrollRef.mescroll
},
methods: {
async mescrollInit() {
await this.getSearchResult()
this.isInit = false
this.mescroll.endSuccess()
},
async downCallback() {
if (this.isInit) return
this.page = 1
await this.getSearchResult()
this.mescroll.endSuccess()
},
async upCallback() {
if (this.isInit) return
this.page += 1
await this.getSearchResult()
this.mescroll.endSuccess()
},
为什么上拉加载一致转圈圈