From d5bb0c281a18121516f526cea93e3516b7dfb7eb Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期四, 16 一月 2025 17:39:05 +0800
Subject: [PATCH] 修改指标分类为选择tree,增加选择框可编辑

---
 src/views/model/mpk/file/MpkForm.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/views/model/mpk/file/MpkForm.vue b/src/views/model/mpk/file/MpkForm.vue
index da3c881..8dfbae9 100644
--- a/src/views/model/mpk/file/MpkForm.vue
+++ b/src/views/model/mpk/file/MpkForm.vue
@@ -333,6 +333,9 @@
     menuAndGroup: [
       {required: true, message: '所属目录不能为空', trigger: 'blur'}
     ],
+    icon: [
+      {required: true, message: 'icon不能为空', trigger: 'blur'}
+    ],
   })
 
   const formRef = ref() // 表单 Ref
@@ -451,7 +454,9 @@
     if (id) {
       formLoading.value = true
       try {
+        debugger
         formData.value = await MpkApi.getMpk(id)
+        debugger
       } finally {
         formLoading.value = false
       }

--
Gitblit v1.9.3