This commit is contained in:
zmj 2024-05-09 16:43:40 +08:00
commit 60bc563e95
1 changed files with 3 additions and 3 deletions

View File

@ -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') {