refactor: 项目简化

Former-commit-id: 73a4a6c9c41e013928e6205dd7c078d0e955f487
This commit is contained in:
horizons committed 2022-09-13 07:44:55 +08:00
1 parent 90c6059f3f
commit 81d7880ebc
64 files changed
+204 -5279

No files matched your search

+2 -2
View File
@@ -21,14 +21,14 @@ import i18n from '@/lang/index';
import '@/styles/index.scss';
// 根据字典编码获取字典列表全局方法
import { getDictItemsByTypeCode } from '@/api/system/dict';
import { getDictItemsByTypeCode } from '@/api/dict';
const app = createApp(App);
// 自定义指令
import * as directive from '@/directive';
Object.keys(directive).forEach((key) => {
Object.keys(directive).forEach(key => {
app.directive(key, (directive as { [key: string]: Directive })[key]);
});