From f3f5a0c0db0b782401a9a0fcf6176312f420d941 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 25 三月 2026 14:01:19 +0800
Subject: [PATCH] 军泰伟业 1.不要树形结构。根据图纸编号为唯一索引添加产品并可以导入 2.要求可以上传图纸 3.产品可以绑定工艺路线 4.工艺路线改成由工序组成,新增编辑是工序可以挪动顺序 5.工序添加报工权限字段,可以多选人员

---
 src/utils/dict.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/utils/dict.js b/src/utils/dict.js
index 40d0691..a6db068 100644
--- a/src/utils/dict.js
+++ b/src/utils/dict.js
@@ -5,20 +5,20 @@
  * 鑾峰彇瀛楀吀鏁版嵁
  */
 export function useDict(...args) {
-  const res = ref({});
+  const res = ref({})
   return (() => {
     args.forEach((dictType, index) => {
-      res.value[dictType] = [];
-      const dicts = useDictStore().getDict(dictType);
+      res.value[dictType] = []
+      const dicts = useDictStore().getDict(dictType)
       if (dicts) {
-        res.value[dictType] = dicts;
+        res.value[dictType] = dicts
       } else {
         getDicts(dictType).then(resp => {
           res.value[dictType] = resp.data.map(p => ({ label: p.dictLabel, value: p.dictValue, elTagType: p.listClass, elTagClass: p.cssClass }))
-          useDictStore().setDict(dictType, res.value[dictType]);
+          useDictStore().setDict(dictType, res.value[dictType])
         })
       }
     })
-    return toRefs(res.value);
+    return toRefs(res.value)
   })()
 }
\ No newline at end of file

--
Gitblit v1.9.3