mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🎨 代码格式化
This commit is contained in:
@@ -56,7 +56,7 @@ export const useAppStore = defineStore(
|
||||
});
|
||||
|
||||
// 初始化
|
||||
function init (): void {
|
||||
function init(): void {
|
||||
loading.value = false;
|
||||
devMode.value = false;
|
||||
devEnv.value = false;
|
||||
@@ -66,13 +66,13 @@ export const useAppStore = defineStore(
|
||||
theme.value = "default";
|
||||
}
|
||||
|
||||
function getSubmenu (): string[] {
|
||||
function getSubmenu(): string[] {
|
||||
const open = [];
|
||||
if (sidebar.submenu.wiki) open.push("wiki");
|
||||
return open;
|
||||
}
|
||||
|
||||
function changeTheme (): void {
|
||||
function changeTheme(): void {
|
||||
if (theme.value === "default") theme.value = "dark";
|
||||
else theme.value = "default";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user