feat: |UI| add simple index (#684)

This commit is contained in:
Dream Hunter
2025-06-28 15:52:19 +08:00
committed by GitHub
parent 9f535a0a90
commit 1303b0f2a9
7 changed files with 337 additions and 59 deletions
+2
View File
@@ -10,6 +10,7 @@ export const useGlobalState = createGlobalState(
const toggleDark = useToggle(isDark)
const loading = ref(false);
const announcement = useLocalStorage('announcement', '');
const useSimpleIndex = useLocalStorage('useSimpleIndex', false);
const openSettings = ref({
fetched: false,
title: '',
@@ -142,6 +143,7 @@ export const useGlobalState = createGlobalState(
showAdminPage,
userOauth2SessionState,
userOauth2SessionClientID,
useSimpleIndex,
}
},
)