调整分享码,修复修改资料提示字段判断错误

This commit is contained in:
唐明明
2023-01-05 15:24:18 +08:00
parent 0755575f08
commit 7837c4d060
13 changed files with 286 additions and 13 deletions

View File

@@ -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({