[update] 修改bug82920
This commit is contained in:
@@ -248,8 +248,17 @@ export default {
|
||||
if (res.success) {
|
||||
// 单点登录成功,跳转到企业端首页,并用token登录
|
||||
console.log(res)
|
||||
const token = res.result.token
|
||||
window.open(`${window._CONFIG.enterpriseTerminal}dashboard/analysis?token=${token}`, '_self')
|
||||
if (res.message === 'updatePassword') {
|
||||
notification['error']({
|
||||
message: '登录失败',
|
||||
description: '请先用手机验证码登录',
|
||||
duration: 4,
|
||||
})
|
||||
return
|
||||
} else {
|
||||
const token = res.result.token
|
||||
window.open(`${window._CONFIG.enterpriseTerminal}dashboard/analysis?token=${token}`, '_self')
|
||||
}
|
||||
} else {
|
||||
notification['error']({
|
||||
message: '登录失败',
|
||||
|
||||
Reference in New Issue
Block a user