fix: resolve mobile type and lint errors

This commit is contained in:
Tyke Chen
2026-07-10 11:45:16 +08:00
parent a5aee109fe
commit 687b6db96b
28 changed files with 1441 additions and 1416 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import type { PublicConfig } from '@/api/auth'
import { getPublicConfig } from '@/api/auth'
import { defineStore } from 'pinia'
import { ref } from 'vue'
import { getPublicConfig } from '@/api/auth'
// 初始化状态
const initialConfigState: PublicConfig = {
+4 -3
View File
@@ -1,11 +1,12 @@
import { ref } from 'vue'
import type { Ref } from 'vue'
import { defineStore } from 'pinia'
import { ref } from 'vue'
// 支持的语言类型
export type Language = 'zh_CN' | 'en' | 'zh_TW' | 'de' | 'vi' | 'pt_BR'
export interface LangStore {
currentLang: Language
currentLang: Ref<Language>
changeLang: (lang: Language) => void
}
@@ -37,4 +38,4 @@ export const useLangStore = defineStore(
},
},
},
)
)