消除国际化代码警告
This commit is contained in:
parent
d89174819a
commit
f283f3ad59
@ -55,7 +55,7 @@ const loadRemoteI18n = async (option: any) => {
|
|||||||
? window.location.pathname + PATH_URL.substring(2)
|
? window.location.pathname + PATH_URL.substring(2)
|
||||||
: PATH_URL
|
: PATH_URL
|
||||||
const url:any = `${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(/* @vite-ignore */url)
|
||||||
}
|
}
|
||||||
|
|
||||||
export const setupI18n = async (app: App<Element>) => {
|
export const setupI18n = async (app: App<Element>) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user