From 9f8b3cb5e036160e7f6519e42243018958019456 Mon Sep 17 00:00:00 2001 From: wangjiahai <1556608@qq.com> Date: Thu, 23 Nov 2023 14:18:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E8=87=AA=E5=8A=A8=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E7=A4=BC=E5=93=81=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/card/card.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pages/card/card.vue b/pages/card/card.vue index 9934148..49ef180 100644 --- a/pages/card/card.vue +++ b/pages/card/card.vue @@ -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,