调整分享码,修复修改资料提示字段判断错误
This commit is contained in:
@@ -116,7 +116,20 @@
|
||||
// 分享码
|
||||
onUserCode(){
|
||||
if(this.identity.order > 1){
|
||||
this.$Router.push({ name: 'UserCode' })
|
||||
uni.showActionSheet({
|
||||
itemList: ['客户邀请码', '业务员邀请码'],
|
||||
success: res => {
|
||||
switch (res.tapIndex){
|
||||
case 0:
|
||||
this.$Router.push({ name: 'UserCode' })
|
||||
break;
|
||||
case 1:
|
||||
this.$Router.push({ name: 'SalesmanCode' })
|
||||
break;
|
||||
}
|
||||
}
|
||||
})
|
||||
//
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
|
||||
Reference in New Issue
Block a user