From 8c69f3c29f542e599b3f3855c2232ed3fc8ee365 Mon Sep 17 00:00:00 2001 From: Kunagisa <1549184870@qq.com> Date: Sat, 14 Jun 2025 00:40:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/authSessionState.js | 4 - src/views/index/DemandList.vue | 165 ++++++++++++++++++++++++++------- 2 files changed, 133 insertions(+), 36 deletions(-) diff --git a/src/utils/authSessionState.js b/src/utils/authSessionState.js index fd63e79..6072edb 100644 --- a/src/utils/authSessionState.js +++ b/src/utils/authSessionState.js @@ -1,7 +1,3 @@ import { ref } from 'vue'; -// This flag is used by the router guard to know if a navigation -// is occurring immediately after a successful login. -// If true, the guard can choose to bypass an immediate session check (e.g., getUserInfo) -// for that first navigation, assuming the new token is valid. export const justLoggedIn = ref(false); \ No newline at end of file diff --git a/src/views/index/DemandList.vue b/src/views/index/DemandList.vue index 8e24374..72836da 100644 --- a/src/views/index/DemandList.vue +++ b/src/views/index/DemandList.vue @@ -42,6 +42,7 @@ +