From 63af2aa701d1b9939ca392b6eb1ec3cabd7dabc9 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 9 May 2024 16:37:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index 2d8740f..3533258 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -78,12 +78,12 @@ import modal from "@/components/modal.vue" - + const showOfficial = ref(false); const navToIndex = () => { if (!userStore.userInfo.supplier) uni.reLaunch({ url: '/pages/index/index' }) - else if(!userStore.userInfo.supplier.openid) { + else if(userStore.userInfo.supplier&&!userStore.userInfo.supplier.openid) { return showOfficial.value = true; } else{ @@ -143,7 +143,7 @@ }) } - const showOfficial = ref(false); + const showBind = ref(false); //是否显示绑定手机号弹窗 const getPhoneNumber = (e) => { if (e.detail?.errMsg == 'getPhoneNumber:ok') {