fix: 修改 系统语言为中文的时候不显示对应value的问题
This commit is contained in:
@@ -123,6 +123,7 @@ export async function getI18n () {
|
||||
const langs = dictData.map(d => d.value).join(',')
|
||||
const request = new Promise(resolve => {
|
||||
get(api.i18n, { l: langs }).then(response => {
|
||||
response.data.cn = response.data.zh
|
||||
resolve(response.data)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user