mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
fix: 重置成功登录流程后的认证异常标志
- 在 actions.js 中添加逻辑,确保在成功登录后重置 ajaxAuthException 状态 - 优化用户认证体验,避免异常状态影响后续操作
This commit is contained in:
parent
5fd2505a33
commit
acc437bf2d
3
resources/assets/js/store/actions.js
vendored
3
resources/assets/js/store/actions.js
vendored
@ -1096,6 +1096,9 @@ export default {
|
|||||||
// readCache
|
// readCache
|
||||||
await dispatch("handleReadCache")
|
await dispatch("handleReadCache")
|
||||||
|
|
||||||
|
// Reset auth exception flag after successful login flow
|
||||||
|
state.ajaxAuthException = null
|
||||||
|
|
||||||
resolve()
|
resolve()
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user