jwg 7 months ago
parent 93ef3ffb6a
commit 11204442dd

@ -65,7 +65,8 @@
<van-button
type="primary"
@click="handleWxLogin"
style="left: 50%; transform: translateX(-50%)"
:class="{ mtop: !firstLogin }"
style="left: 50%; transform: translateX(-50%); width: 90%"
>企业微信登录</van-button
>
<!-- 图形验证码 -->
@ -113,8 +114,8 @@ export default {
...mapGetters(['devSystemList', 'devUserList']),
},
created() {
//
isProhibited().then((res) => {
//
/* isProhibited().then((res) => {
if (res.data) {
console.log(res.data, 'isProhibited')
if (/wxwork/i.test(navigator.userAgent)) {
@ -128,7 +129,7 @@ export default {
return
}
}
})
}) */
//
// this.tenantEnable = getTenantEnable();
// if (this.tenantEnable) {
@ -202,13 +203,6 @@ export default {
}).then((res) => {
// URL
window.location.href = res.data
/* this.$nextTick(() => {
Toast.loading({
duration: 3, // toast
forbidClick: true,
message: res.data + ,
})
}) */
})
},
//
@ -290,6 +284,7 @@ export default {
}
window.localStorage.setItem('loginInfo', JSON.stringify(obj))
}
this.firstLogin = false
//
if (window.location.href.includes('code')) {
userBind({ code: this.code, state: this.state, type: 40 })
@ -326,4 +321,7 @@ export default {
.oo {
text-align: left;
}
.mtop {
margin-top: 15vh;
}
</style>

Loading…
Cancel
Save