mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-05-15 04:27:39 +08:00
♻️ 方法提取
This commit is contained in:
@@ -65,6 +65,8 @@ const useAppStore = defineStore(
|
||||
const cancelLike = ref<boolean>(true);
|
||||
/* 关闭窗口时最小化到托盘 */
|
||||
const closeToTray = ref<boolean>(false);
|
||||
/** 是否是管理员模式 */
|
||||
const isInAdmin = ref<boolean>(false);
|
||||
|
||||
/**
|
||||
* 初始化应用状态
|
||||
@@ -147,6 +149,7 @@ const useAppStore = defineStore(
|
||||
init,
|
||||
changeTheme,
|
||||
getImageUrl,
|
||||
isInAdmin,
|
||||
};
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user