n20-common-lib 2.15.7 → 2.15.9
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
CHANGED
package/src/utils/i18n/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import zhHk from './cn2hk.json' // 简体繁体映射
|
|
|
10
10
|
// const langEm = { 中文: 'zh', 中文简体: 'zh-cn', 中文繁体: 'zh-hk', 英文: 'en', 德文: 'de', 法文: 'fr' }
|
|
11
11
|
|
|
12
12
|
let pageLang = window.localStorage.getItem('pageLang') // 当前页面的语言
|
|
13
|
-
let $i18n_map_root =
|
|
13
|
+
let $i18n_map_root = {} // 全局的国际化
|
|
14
14
|
|
|
15
15
|
export function $l(zh, map = {}, arg) {
|
|
16
16
|
let val = ''
|