消除国际化代码警告

This commit is contained in:
limengnan 2025-06-26 09:47:24 +08:00
parent d89174819a
commit f283f3ad59

View File

@ -55,7 +55,7 @@ const loadRemoteI18n = async (option: any) => {
? window.location.pathname + PATH_URL.substring(2)
: PATH_URL
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>) => {