加入自动刷新礼品卡
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user