优化代码
This commit is contained in:
parent
986bc38a9c
commit
4f29bccf10
@ -55,7 +55,7 @@ const loadRemoteI18n = async (option: any) => {
|
||||
? window.location.pathname + PATH_URL.substring(2)
|
||||
: PATH_URL
|
||||
const url = `${path}/i18n/custom_${name}_front_${option.name}.js`
|
||||
return await import(url)
|
||||
return await import(/* @vite-ignore */ url)
|
||||
}
|
||||
|
||||
export const setupI18n = async (app: App<Element>) => {
|
||||
|
Loading…
Reference in New Issue
Block a user