提交 d0a59d9c 编写于 作者: 郝先瑞

refactor(main.ts): 删除无用配置

上级 79d06f74
......@@ -11,13 +11,8 @@ import '@/permission'
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
// @see https://blog.csdn.net/qq_37213281/article/details/121422027
import * as ElIconModules from '@element-plus/icons'
// 国际化
import i18n from "@/lang/index";
import locale from 'element-plus/lib/locale/lang/zh-cn'
// 自定义样式
import '@/styles/index.scss'
......@@ -34,11 +29,6 @@ Object.keys(directive).forEach(key => {
app.directive(key, (directive as { [key: string]: Directive })[key]);
});
// 统一注册el-icon图标 https://blog.csdn.net/Alloom/article/details/119415984
for (let iconName in ElIconModules) {
app.component(iconName, (ElIconModules as any)[iconName])
}
// 全局方法
app.config.globalProperties.$listDictsByCode = listDictsByCode
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册