优化部分代码
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user