refactor: 权限系统模块重构完成

Former-commit-id: b33078bfbfea309af518cfab41080d0fea819491
This commit is contained in:
horizons
2022-10-21 00:59:49 +08:00
parent b0a0033371
commit cf24d080e5
16 changed files with 576 additions and 990 deletions

View File

@@ -21,7 +21,7 @@ import i18n from '@/lang/index';
import '@/styles/index.scss';
// 根据字典编码获取字典列表全局方法
import { getDictItemsByTypeCode } from '@/api/dict';
import { listDictItemsByTypeCode } from '@/api/dict';
const app = createApp(App);
@@ -33,7 +33,7 @@ Object.keys(directive).forEach(key => {
});
// 全局方法
app.config.globalProperties.$getDictItemsByTypeCode = getDictItemsByTypeCode;
app.config.globalProperties.$listDictItemsByTypeCode = listDictItemsByTypeCode;
// 注册全局组件
app