🐛 修正label&子窗口回正异常

This commit is contained in:
目棃
2024-09-06 12:20:50 +08:00
parent 599f9273e2
commit ee9f9b7acd
3 changed files with 11 additions and 10 deletions

View File

@@ -51,7 +51,7 @@ export const useAppStore = defineStore(
// 最近的咨讯类型
const recentNewsType = ref("notice");
// 是否开启分辨率回正
const needResize = ref<boolean | undefined>(true);
const needResize = ref<string>("true");
// 初始化
function init(): void {
@@ -63,7 +63,7 @@ export const useAppStore = defineStore(
server.value = AnnoServer.CN_ISLAND;
lang.value = "zh-cn";
recentNewsType.value = "notice";
needResize.value = true;
needResize.value = "true";
initDevice();
}