我的门店验证手机号
This commit is contained in:
@@ -106,7 +106,7 @@ export default {
|
|||||||
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodemendian.png",
|
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodemendian.png",
|
||||||
label: "我的门店",
|
label: "我的门店",
|
||||||
path: "./myStoreList",
|
path: "./myStoreList",
|
||||||
type: 'idNumber'
|
type: 'phone'
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-sys.png",
|
// icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-sys.png",
|
||||||
@@ -160,8 +160,17 @@ export default {
|
|||||||
if (type == 'idNumber') {
|
if (type == 'idNumber') {
|
||||||
if (this.user.status == 0) {
|
if (this.user.status == 0) {
|
||||||
if (!this.user.phone) {
|
if (!this.user.phone) {
|
||||||
this.$linkTo('./userInfo')
|
this.$linkTo('/pages/phone/bingPhoneNumber?from=auth')
|
||||||
}
|
} else {
|
||||||
|
this.$linkTo('/mods/AppAuth/AppAuth')
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.$linkTo(url)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (type == 'phone') { //我的门店验证手机号
|
||||||
|
if (!this.user.phone) {
|
||||||
|
this.$linkTo('./userInfo')
|
||||||
} else {
|
} else {
|
||||||
this.$linkTo(url)
|
this.$linkTo(url)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user