This commit is contained in:
Fanzink
2022-12-13 21:00:49 +08:00
parent a5a4f93328
commit 23b7b85b39
30 changed files with 269 additions and 54 deletions

View File

@@ -4,7 +4,7 @@ t.loading = 'Loading...'
t.createTime = 'Create Time'
t.brand = {}
t.brand.lg = 'Deep Processing SCADA Platform'
t.brand.lg = 'SCADA Platform'
t.brand.mini = 'SCADA'
t.routes = {}

View File

@@ -1,3 +1,11 @@
/*
* @Descripttion:
* @version:
* @Author: fzq
* @Date: 2022-11-25 09:51:46
* @LastEditors: fzq
* @LastEditTime: 2022-12-13 19:27:24
*/
import Vue from 'vue'
import VueI18n from 'vue-i18n'
import Cookies from 'js-cookie'
@@ -43,5 +51,7 @@ export function getLanguage() {
export default new VueI18n({
// locale: Cookies.get('language') || 'zh-CN',
locale: getLanguage(), // 先默认中文
messages
messages,
//抑制警告
silentFallbackWarn: true,
})