n20-common-lib 2.6.82 → 2.6.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/assets/.DS_Store +0 -0
- package/src/assets/iconFont5/demo_index.html +26 -3
- package/src/assets/iconFont5/iconfont.css +7 -3
- package/src/assets/iconFont5/iconfont.js +1 -1
- package/src/assets/iconFont5/iconfont.json +7 -0
- package/src/assets/iconFont5/iconfont.ttf +0 -0
- package/src/assets/iconFont5/iconfont.woff +0 -0
- package/src/assets/iconFont5/iconfont.woff2 +0 -0
- package/src/components/Layout/HeaderWrap/indexN.vue +11 -1
- package/src/i18n.json +1263 -640
- package/src/utils/auth.js +1 -1
- package/src/utils/i18n/index.js +3 -0
- package/style/fonts/iconfont.09d221ee.woff +0 -0
- package/style/fonts/{iconfont.2be34155.ttf → iconfont.1c4bfacc.ttf} +0 -0
- package/style/fonts/iconfont.a6f34dc7.woff2 +0 -0
- package/style/index.css +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/fonts/iconfont.09d221ee.woff +0 -0
- package/theme/fonts/iconfont.1c4bfacc.ttf +0 -0
- package/theme/fonts/iconfont.a6f34dc7.woff2 +0 -0
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
- package/style/fonts/iconfont.1676b4d9.woff2 +0 -0
- package/style/fonts/iconfont.ac432622.woff +0 -0
package/src/utils/auth.js
CHANGED
|
@@ -51,7 +51,7 @@ const auth = {
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
setReqLang() {
|
|
54
|
-
let langMap = { 'zh-cn': 'zh_CN', en: 'en_US', 'zh-hk': 'zh_TW', th: 'th_TH' }
|
|
54
|
+
let langMap = { 'zh-cn': 'zh_CN', en: 'en_US', 'zh-hk': 'zh_TW', th: 'th_TH', vi: 'vi_VI' }
|
|
55
55
|
let langKey = window.localStorage.getItem('pageLang') || 'zh-cn'
|
|
56
56
|
reqLang = langMap[langKey]
|
|
57
57
|
},
|
package/src/utils/i18n/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import locale from 'element-ui/lib/locale'
|
|
2
2
|
import langEn from 'element-ui/lib/locale/lang/en'
|
|
3
3
|
import langTh from 'element-ui/lib/locale/lang/th'
|
|
4
|
+
import langVi from 'element-ui/lib/locale/lang/vi'
|
|
4
5
|
import langTw from 'element-ui/lib/locale/lang/zh-TW'
|
|
5
6
|
|
|
6
7
|
import i18n_map_corelib from '../../i18n.json'
|
|
@@ -51,6 +52,8 @@ directive.install = (Vue, map = {}) => {
|
|
|
51
52
|
locale.use(langTw)
|
|
52
53
|
} else if (pageLang === 'th') {
|
|
53
54
|
locale.use(langTh)
|
|
55
|
+
} else if (pageLang === 'vi') {
|
|
56
|
+
locale.use(langVi)
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
$i18n_map_root = map
|
|
Binary file
|
|
Binary file
|
|
Binary file
|