fix: 增加日志
parent
a2ed3fd3a7
commit
0229887d14
|
@ -148,8 +148,10 @@ const actions = {
|
|||
resolve()
|
||||
}
|
||||
// 调用天融信单点退出系统
|
||||
console.log('调用天融信单点退出系统 ResetRoutes 方法', redirectToLogin)
|
||||
if (redirectToLogin) {
|
||||
dispatch('ukey/Logout', null, { root: true }).then(res => {
|
||||
console.log('调用天融信单点退出系统 dispatch(ukey/Logout) 方法 res:', res)
|
||||
if (!res.success) return
|
||||
reset()
|
||||
})
|
||||
|
|
|
@ -86,12 +86,10 @@ const actions = {
|
|||
// 退出系统
|
||||
Logout() {
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve({
|
||||
success: true
|
||||
})
|
||||
// 调用天融信单点退出系统
|
||||
const trxToken = getTrxToken()
|
||||
if (!trxToken) reject(new Error('未找到 trxToken'))
|
||||
console.log('开始调用天融信 offlineToken')
|
||||
offlineToken(trxToken).then(
|
||||
res => {
|
||||
console.log('调用天融信单点退出系统', res)
|
||||
|
|
Loading…
Reference in New Issue