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