mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 07:27:27 +08:00
feat: add admin panel (#31)
* feat: add admin panel * feature: update limit
This commit is contained in:
@@ -13,7 +13,9 @@ export const useGlobalState = createGlobalState(
|
||||
}]
|
||||
})
|
||||
const showAuth = ref(false);
|
||||
const showAdminAuth = ref(false);
|
||||
const auth = useStorage('auth', '');
|
||||
const adminAuth = useStorage('adminAuth', '');
|
||||
const jwt = useStorage('jwt', '');
|
||||
const localeCache = useStorage('locale', 'zhCN');
|
||||
const themeSwitch = useStorage('themeSwitch', false);
|
||||
@@ -24,7 +26,9 @@ export const useGlobalState = createGlobalState(
|
||||
auth,
|
||||
jwt,
|
||||
localeCache,
|
||||
themeSwitch
|
||||
themeSwitch,
|
||||
adminAuth,
|
||||
showAdminAuth,
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user