From 3bea59c22833ecf7679498ef29f90a3b64839ab1 Mon Sep 17 00:00:00 2001
From: 王恒 <318726284@qq.com>
Date: 星期三, 13 八月 2025 14:17:33 +0800
Subject: [PATCH] '删除多引用的http解决计划管理报错问题'
---
src/main.ts | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main.ts b/src/main.ts
index e74fcf7..410f049 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -25,7 +25,7 @@
import "./permission"; // permission control
-import { useDict } from "@/utils/dict";
+import { useDict, useDictPer } from "@/utils/dict";
import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from "@/utils/ruoyi";
// 鍒嗛〉缁勪欢
@@ -49,6 +49,8 @@
// 鍏ㄥ眬鏂规硶鎸傝浇
app.config.globalProperties.useDict = useDict;
+app.config.globalProperties.useDictPer = useDictPer;
+
// app.config.globalProperties.useDict = (e: any): ToRefs<Dict.resDictType> => {
// return useDict(e);
// };
--
Gitblit v1.9.1