加入自动刷新礼品卡
This commit is contained in:
@@ -58,8 +58,17 @@
|
|||||||
data: []
|
data: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad() {
|
||||||
|
uni.$on("order", (e) => {
|
||||||
|
this.$refs.paging.reload(true);
|
||||||
|
})
|
||||||
|
},
|
||||||
|
onUnload() {
|
||||||
|
uni.$off('order');
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
queryList(pageNo, pageSize) {
|
queryList(pageNo, pageSize) {
|
||||||
|
console.log(pageNo);
|
||||||
let _this = this
|
let _this = this
|
||||||
_this.$api.cardList({
|
_this.$api.cardList({
|
||||||
"current": pageNo,
|
"current": pageNo,
|
||||||
|
|||||||
Reference in New Issue
Block a user