优化
This commit is contained in:
parent
db0ba8db85
commit
13ba59b808
@ -26,7 +26,6 @@ export default {
|
||||
...mapState(['user'])
|
||||
},
|
||||
async created () {
|
||||
console.log('dd: ', dd)
|
||||
if (!dd.other) {
|
||||
await this.handleGetDingtalkCode()
|
||||
await this.handleDingtalkLogin()
|
||||
@ -66,7 +65,7 @@ export default {
|
||||
this.$cookies.set('token', res.token)
|
||||
await this.handleInfo()
|
||||
this.dataForm.verify = '登录成功,跳转中...'
|
||||
window.open(window.location.protocol + '//' + window.location.host + '/digitization/kpi/workbench/home?code=' + this.dingCode.code)
|
||||
// window.open(window.location.protocol + '//' + window.location.host + '/digitization/kpi/workbench/home?code=' + this.dingCode.code)
|
||||
} else {
|
||||
this.dataForm.verify = '身份验证失败' + res.msg
|
||||
this.$message.error(this.dataForm.verify)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user