🐛 Fix the authorize page

This commit is contained in:
2025-09-30 01:04:20 +08:00
parent 888d3cb5ba
commit 98a5d34f3c
6 changed files with 2895 additions and 30 deletions

View File

@@ -22,6 +22,7 @@ export const useUserStore = defineStore("user", () => {
// Actions
async function fetchUser(reload = true) {
if (isLoading.value) return
if (!reload && user.value) return // Skip fetching if already loaded and not forced to
isLoading.value = true