Merge pull request #8381 from dataease/pr@dev@fixlogin

fix: 新建账号登陆时,出现缓存bug,导致DataEase无法正常访问 #8124
This commit is contained in:
taojinlong 2024-03-06 15:38:24 +08:00 committed by GitHub
commit 9fe4037478
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -164,6 +164,7 @@ const actions = {
resetRouter()
commit('RESET_STATE')
resolve(res.data)
localStorage.removeItem('passwordModified')
}).catch(error => {
reject(error)
if (error?.response?.data?.message) {