From 74ff2cd15d65511c26b6a1a2e58e6153deb1e938 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期五, 12 七月 2024 14:40:17 +0800 Subject: [PATCH] 1 --- App.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/App.vue b/App.vue index ac7a622..6bdaa3c 100644 --- a/App.vue +++ b/App.vue @@ -41,13 +41,14 @@ if (true && storage.getItem('token')) { setTimeout(async () => { const res = await this.$store.dispatch('getCurrentInfo'); - // console.log('init info',res,this.currentInfo) - if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) { - - uni.reLaunch({ - url: '/pages/home/supplier-home' - }) - } + // console.log('init info',res,this.currentInfo) + // #ifdef PUB_CUSTOMER + if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) { + uni.reLaunch({ + url: '/pages/home/supplier-home' + }) + } + // #endif }, 200); } else { -- Gitblit v1.9.3