fix: 默认语言改为中文
This commit is contained in:
@@ -16,7 +16,7 @@ const messages: Record<string, Messages> = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const currentLocale = ref<string>(
|
const currentLocale = ref<string>(
|
||||||
localStorage.getItem('locale') || 'en'
|
localStorage.getItem('locale') || 'zh-CN'
|
||||||
)
|
)
|
||||||
|
|
||||||
export function useI18n() {
|
export function useI18n() {
|
||||||
|
|||||||
Reference in New Issue
Block a user