Merge branch 'master' of https://gitea.lihaink.cn/weipengfei/purchase-let into dev
This commit is contained in:
commit
60bc563e95
|
@ -78,12 +78,12 @@
|
||||||
import modal from "@/components/modal.vue"
|
import modal from "@/components/modal.vue"
|
||||||
|
|
||||||
|
|
||||||
|
const showOfficial = ref(false);
|
||||||
const navToIndex = () => {
|
const navToIndex = () => {
|
||||||
if (!userStore.userInfo.supplier) uni.reLaunch({
|
if (!userStore.userInfo.supplier) uni.reLaunch({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index'
|
||||||
})
|
})
|
||||||
else if(!userStore.userInfo.supplier.openid) {
|
else if(userStore.userInfo.supplier&&!userStore.userInfo.supplier.openid) {
|
||||||
return showOfficial.value = true;
|
return showOfficial.value = true;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const showOfficial = ref(false);
|
|
||||||
const showBind = ref(false); //是否显示绑定手机号弹窗
|
const showBind = ref(false); //是否显示绑定手机号弹窗
|
||||||
const getPhoneNumber = (e) => {
|
const getPhoneNumber = (e) => {
|
||||||
if (e.detail?.errMsg == 'getPhoneNumber:ok') {
|
if (e.detail?.errMsg == 'getPhoneNumber:ok') {
|
||||||
|
|
Loading…
Reference in New Issue