11
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
@getphonenumber="decryptPhoneNumber">
|
||||
<text class="cuIcon-weixin padding-right-xs"> </text>
|
||||
<text>
|
||||
微信用户一键登录
|
||||
手机号授权一键登录
|
||||
</text>
|
||||
</button>
|
||||
<button class="cu-btn margin-top round lg" @tap="refuseEmpower">
|
||||
@@ -90,6 +90,9 @@
|
||||
isSwitchEnterprises(n,o){ }
|
||||
},
|
||||
methods: {
|
||||
onpwd(){
|
||||
uni.$on('')
|
||||
},
|
||||
init(option){
|
||||
if(option){
|
||||
if(option.companyId === '1460872936910831616'){
|
||||
|
||||
@@ -352,6 +352,11 @@
|
||||
authApi.loginRandom(data, type).then(res => {
|
||||
if (res.code == 20000) {
|
||||
this.loginSuccess(res)
|
||||
}else{
|
||||
uni.showToast({
|
||||
title:res.msg,
|
||||
icon:'none'
|
||||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
this.logout()
|
||||
|
||||
Reference in New Issue
Block a user