✏️ 修复 import.meta.env 引用

This commit is contained in:
BTMuli
2023-10-09 01:05:52 +08:00
parent 7841ea4a79
commit 1ad3506f66
6 changed files with 30 additions and 6 deletions

View File

@@ -176,7 +176,7 @@ const userStore = useUserStore();
const homeStore = useHomeStore();
const achievementsStore = useAchievementsStore();
const isDevEnv = ref<boolean>(!import.meta?.env?.PROD);
const isDevEnv = ref<boolean>(import.meta.env.MODE === "development");
// About App
const versionApp = ref<string>("");