进入初始化账号页面填写完成后,保存报错
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
651175d8c2
commit
c1a08df5d4
|
@ -277,10 +277,14 @@ const actions = {
|
|||
async logout({ commit, state }) {
|
||||
try {
|
||||
removeToken() // must remove token first
|
||||
await loginOut({
|
||||
UserRoleId: zzSessionStorage.getItem('userId'),
|
||||
IdentityUserId: zzSessionStorage.getItem('identityUserId'),
|
||||
})
|
||||
let params = {}
|
||||
if (zzSessionStorage.getItem('identityUserId')) {
|
||||
params.IdentityUserId = zzSessionStorage.getItem('identityUserId')
|
||||
}
|
||||
if (zzSessionStorage.getItem('userId')) {
|
||||
params.UserRoleId = zzSessionStorage.getItem('userId')
|
||||
}
|
||||
await loginOut(params)
|
||||
resetRouter()
|
||||
removeName()
|
||||
let lang = zzSessionStorage.getItem('lang')
|
||||
|
|
Loading…
Reference in New Issue