This commit is contained in:
caolc
2023-07-06 14:08:20 +08:00
parent cf253870a3
commit b43d34fe06
6 changed files with 31 additions and 19 deletions

View File

@@ -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'){

View File

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