更新前端src/views/plugins目录文件
This commit is contained in:
parent
1a6899cf8f
commit
c1d186468b
@ -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]
|
||||
|
||||
|
@ -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>) => {
|
||||
|
Loading…
Reference in New Issue
Block a user