From acc437bf2d177fb7394e4107e49097d0bb4e805c Mon Sep 17 00:00:00 2001 From: kuaifan Date: Tue, 23 Sep 2025 14:41:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=8D=E7=BD=AE=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=B5=81=E7=A8=8B=E5=90=8E=E7=9A=84=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E5=BC=82=E5=B8=B8=E6=A0=87=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 actions.js 中添加逻辑,确保在成功登录后重置 ajaxAuthException 状态 - 优化用户认证体验,避免异常状态影响后续操作 --- resources/assets/js/store/actions.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/assets/js/store/actions.js b/resources/assets/js/store/actions.js index c1aa7f755..1e23921d2 100644 --- a/resources/assets/js/store/actions.js +++ b/resources/assets/js/store/actions.js @@ -1096,6 +1096,9 @@ export default { // readCache await dispatch("handleReadCache") + // Reset auth exception flag after successful login flow + state.ajaxAuthException = null + resolve() }); },