|
|
@@ -9,8 +9,6 @@ import ElementPlus, { valueEquals } from 'element-plus' |
|
|
|
import 'element-plus/dist/index.css' |
|
|
|
import zhCn from 'element-plus/es/locale/lang/zh-cn' |
|
|
|
import * as EleIcons from '@element-plus/icons-vue' |
|
|
|
//fragment |
|
|
|
import Fragment from 'vue-fragment' |
|
|
|
//全局样式 |
|
|
|
import './style/main.css' |
|
|
|
import { isValidKey } from '@/utils/utils' |
|
|
@@ -49,7 +47,7 @@ app.config.globalProperties.$ELEMENT = { |
|
|
|
}, |
|
|
|
}; |
|
|
|
|
|
|
|
app.use(router).use(pinia).use(Fragment.Plugin).use(ElementPlus, { |
|
|
|
app.use(router).use(pinia).use(ElementPlus, { |
|
|
|
// 使用element-plus |
|
|
|
locale: zhCn, |
|
|
|
}) |