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() {