From 8b0c13b27b2ea6d98f5769bb4658327bf17afa8e Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期日, 04 八月 2024 12:37:23 +0800 Subject: [PATCH] update 合伙人分享商品的绑定逻辑 --- App.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/App.vue b/App.vue index 796812d..e44d83f 100644 --- a/App.vue +++ b/App.vue @@ -5,7 +5,7 @@ import storage from '@/plugins/storage.js' export default { - onLaunch: function(options) { + onLaunch: async function(options) { var query = options.q && decodeURIComponent(options.q) || '' var querydto = {} if (query) { @@ -52,9 +52,9 @@ } }); // #ifdef MP - if (true && storage.getItem('token')) { + if (true && storage.getItem('token')) { + const res = await this.$store.dispatch('getCurrentInfo'); setTimeout(async () => { - const res = await this.$store.dispatch('getCurrentInfo'); // #ifndef PUB_CUSTOMER if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) { if (this.currentInfo.type === 'admin') { -- Gitblit v1.9.3