加入自动刷新礼品卡

This commit is contained in:
wangjiahai
2023-11-23 14:18:08 +08:00
parent e3559e6a8f
commit 9f8b3cb5e0

View File

@@ -58,8 +58,17 @@
data: []
}
},
onLoad() {
uni.$on("order", (e) => {
this.$refs.paging.reload(true);
})
},
onUnload() {
uni.$off('order');
},
methods: {
queryList(pageNo, pageSize) {
console.log(pageNo);
let _this = this
_this.$api.cardList({
"current": pageNo,