更新前端src/views/plugins目录文件

This commit is contained in:
limengnan 2025-06-24 10:44:52 +08:00
parent 1a6899cf8f
commit c1d186468b
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ import type { App } from 'vue'
// 需要全局引入一些组件如ElScrollbar不然一些下拉项样式有问题
import { ElLoading, ElScrollbar } from 'element-plus-secondary'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus-secondary/theme-chalk/el-radio-button.css'
const plugins = [ElLoading]

View File

@ -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(/* @vite-ignore */ url)
return await import(url)
}
export const setupI18n = async (app: App<Element>) => {