From 0a83aa2b990d882cd8553458e31af23ea654a516 Mon Sep 17 00:00:00 2001 From: wangjiahai <1556608@qq.com> Date: Thu, 23 Nov 2023 14:19:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=88=B7=E6=96=B0=E7=A4=BC?= =?UTF-8?q?=E5=93=81=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/card/card_detail.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/card/card_detail.vue b/pages/card/card_detail.vue index 69844a6..83ded1a 100644 --- a/pages/card/card_detail.vue +++ b/pages/card/card_detail.vue @@ -84,6 +84,12 @@ onLoad(options) { this.page.sid = options.sid this.request() + uni.$on("order2", (e) => { + this.request(); + }) + }, + onUnload() { + uni.$off('order2'); }, methods: { request() {