♻️ 移除isInAdmin的store

This commit is contained in:
BTMuli
2025-12-27 14:59:15 +08:00
parent ff49d3175a
commit 90eb4facf9
5 changed files with 13 additions and 17 deletions

View File

@@ -65,8 +65,6 @@ const useAppStore = defineStore(
const cancelLike = ref<boolean>(true);
/** 关闭窗口时最小化到托盘 */
const closeToTray = ref<boolean>(false);
/** 是否是管理员模式 */
const isInAdmin = ref<boolean>(false);
/**
* 初始化应用状态
@@ -150,7 +148,6 @@ const useAppStore = defineStore(
init,
changeTheme,
getImageUrl,
isInAdmin,
};
},
{