feat: implement theme synchronization and loading skeletons across various components, enhancing user experience during content loading

This commit is contained in:
wizardchen
2026-04-11 15:03:20 +08:00
committed by lyingbug
parent 1a4b7b390d
commit 6d8b47e57c
15 changed files with 441 additions and 19 deletions
+5
View File
@@ -135,6 +135,11 @@ export const useAuthStore = defineStore('auth', () => {
localStorage.removeItem('weknora_selected_tenant_name')
localStorage.removeItem('weknora_lite_mode')
isLiteMode.value = false
try {
sessionStorage.removeItem('weknora_lite_last_path')
} catch {
/* ignore */
}
}
const initFromStorage = () => {