Merge pull request 'fix : 修复用户切换时,报错提示' (#753) from de into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/753
This commit is contained in:
2024-09-08 11:39:13 +00:00

View File

@@ -115,6 +115,12 @@ const accountChange = (userId) => {
authStore.userLogout()
setToken(res.data)
window.location.href = "/home"
}else{
ElNotification({
title: '提示',
message: res.msg,
type: 'error'
})
}
})
}