优化
This commit is contained in:
parent
0739146ea4
commit
bd4c6e7b7c
@ -54,7 +54,7 @@ const loadRemoteI18n = async (option: any) => {
|
|||||||
PATH_URL.startsWith('./') && PATH_URL.length > 2
|
PATH_URL.startsWith('./') && PATH_URL.length > 2
|
||||||
? window.location.pathname + PATH_URL.substring(2)
|
? window.location.pathname + PATH_URL.substring(2)
|
||||||
: PATH_URL
|
: PATH_URL
|
||||||
const url = `${path}/i18n/custom_${name}_front_${option.name}.js`
|
const url:any = `${path}/i18n/custom_${name}_front_${option.name}.js`
|
||||||
return await import(url)
|
return await import(url)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user