mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🌱 完善类型,初步进行正则match #94
This commit is contained in:
@@ -8,6 +8,7 @@ import { path } from "@tauri-apps/api";
|
||||
import { defineStore } from "pinia";
|
||||
import { reactive, ref } from "vue";
|
||||
|
||||
import type { AnnoLang } from "../../pages/common/Announcements.vue";
|
||||
import { getInitDeviceInfo } from "../../utils/toolFunc";
|
||||
import { SERVER } from "../../web/request/getAnno";
|
||||
|
||||
@@ -47,7 +48,7 @@ export const useAppStore = defineStore(
|
||||
// 服务器
|
||||
const server = ref<SERVER>(SERVER.CN_ISLAND);
|
||||
// 语言
|
||||
const lang = ref<string>("zh-cn");
|
||||
const lang = ref<AnnoLang>("zh-cn");
|
||||
// 最近的咨讯类型
|
||||
const recentNewsType = ref("notice");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user