fix:修复bug
This commit is contained in:
@@ -5,10 +5,14 @@ import { createI18n } from 'vue-i18n'
|
||||
import zhCN from './locale/zh-CN.js'
|
||||
import enUS from './locale/en-US.js'
|
||||
import uView from '@climblee/uv-ui'
|
||||
import { initConsoleControl } from './config/console.js'
|
||||
|
||||
// 初始化 console 控制
|
||||
initConsoleControl()
|
||||
|
||||
// 获取系统语言
|
||||
const getSystemLanguage = () => {
|
||||
let language = 'zh-CN'
|
||||
let language = 'en-US'
|
||||
try {
|
||||
const systemInfo = uni.getSystemInfoSync()
|
||||
if (systemInfo && systemInfo.language) {
|
||||
|
||||
Reference in New Issue
Block a user