From 031d83828a20b7bc56c1723fe4eaa67fd9d8cd07 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 14 十二月 2023 00:44:12 +0800 Subject: [PATCH] update 代码规范化 --- src/main.ts | 19 ------------------- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/src/main.ts b/src/main.ts index 0ad939a..7d5d153 100644 --- a/src/main.ts +++ b/src/main.ts @@ -14,10 +14,6 @@ // 娉ㄥ唽鎻掍欢 import plugins from './plugins/index'; // plugins -import { download } from '@/utils/request'; - -// 棰勮鍔ㄧ敾 -import animate from './animate'; // svg鍥炬爣 import 'virtual:svg-icons-register'; @@ -26,25 +22,10 @@ // permission control import './permission'; -import { useDict } from '@/utils/dict'; -import { getConfigKey, updateConfigByKey } from '@/api/system/config'; -import { parseTime, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi'; - // 鍥介檯鍖� import i18n from '@/lang/index'; const app = createApp(App); -// 鍏ㄥ眬鏂规硶鎸傝浇 -app.config.globalProperties.useDict = useDict; -app.config.globalProperties.getConfigKey = getConfigKey; -app.config.globalProperties.updateConfigByKey = updateConfigByKey; -app.config.globalProperties.download = download; -app.config.globalProperties.parseTime = parseTime; -app.config.globalProperties.handleTree = handleTree; -app.config.globalProperties.addDateRange = addDateRange; -app.config.globalProperties.selectDictLabel = selectDictLabel; -app.config.globalProperties.selectDictLabels = selectDictLabels; -app.config.globalProperties.animate = animate; app.use(ElementIcons); app.use(router); -- Gitblit v1.9.3