This commit is contained in:
yanran200730
2021-12-07 15:17:19 +08:00
parent 4dccf2816c
commit 137f7ff0e2
5 changed files with 147 additions and 117 deletions

View File

@@ -31,13 +31,6 @@
},
onLoad () {
uni.$on('reload', () => {
if (this.currIndex === 0) {
this.$refs.list.reload()
} else {
this.$refs.addList.getList()
}
})
},
methods: {
@@ -45,12 +38,6 @@
this.params = e.params
this.component = e.type
},
},
onReachBottom() {
if (this.currIndex === 0) {
this.$refs.list.getList()
}
}
}
</script>