fix: api 国际化添加参数

This commit is contained in:
@changcode
2022-01-21 17:52:36 +08:00
parent 34bb7deaf5
commit 5bbd2fa6bf

View File

@@ -133,7 +133,7 @@ export async function getPermission () {
}
export async function getI18n () {
const dictData = await getDictList()
const dictData = await getDictList( { type: 'lang'})
const langs = dictData.map(d => d.value).join(',')
localStorage.setItem(storageKey.languages, langs)
const request = new Promise(resolve => {