From 25abf7e99023c34cde648a790423a594aec1cc70 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Thu, 16 Sep 2021 18:08:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B7=B3=E8=BD=AC=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 ++++ manifest.json | 2 +- pages/order/confirm_atonce.vue | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/App.vue b/App.vue index 7be9c43..c6bdb63 100644 --- a/App.vue +++ b/App.vue @@ -24,6 +24,10 @@ } },500) + + setTimeout(() => { + uni.$emit('test99'); + },4000) }, methods: { // 获取手机设备信息 diff --git a/manifest.json b/manifest.json index 208bb63..43779cc 100644 --- a/manifest.json +++ b/manifest.json @@ -50,7 +50,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wx5bd5789ad8f89524", + "appid" : "wx27c51a989127de12", "setting" : { "urlCheck" : true, "es6" : false, diff --git a/pages/order/confirm_atonce.vue b/pages/order/confirm_atonce.vue index 8c02dd5..eb4605a 100644 --- a/pages/order/confirm_atonce.vue +++ b/pages/order/confirm_atonce.vue @@ -16,7 +16,7 @@ onShow(e) { // this.order_id = uni.getStorageSync('order_id') let that = this - uni.$on('order_id',function(data){ + uni.$once('order_id',function(data){ that.order_id = data.msg if (that.order_id) { that.getUserProfile()