diff --git a/locale/index.js b/locale/index.js index 66483a9..fe3359d 100644 --- a/locale/index.js +++ b/locale/index.js @@ -10,8 +10,8 @@ Vue.use(VueI18n) // 获取系统语言 const systemInfo = uni.getSystemInfoSync(); -const systemLang = 'en'; -// const systemLang = systemInfo.language || 'en'; +// const systemLang = 'en'; +const systemLang = systemInfo.language || 'en'; console.log(systemInfo.language, systemLang);