From 96375713d273bf3ec9a8da82d14166f7d89276eb Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 27 七月 2023 16:51:48 +0800
Subject: [PATCH] 主题库分类注入2

---
 Source/UBCS-WEB/src/components/Tree/attrCrud.vue |   46 +++++++++++++++++++++++++++-------------------
 1 files changed, 27 insertions(+), 19 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
index 6461664..1dd85a5 100644
--- a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
+++ b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
@@ -372,25 +372,33 @@
       }
       return '';
     },
-        ProData: {
-          handler(newVal, oldVal) {
-            if(this.initializing){
-              newVal.forEach((item) => {
-                item.classifyInvokeText = {
-                  "娉ㄥ叆绫诲瀷": item.classifyInvokeAttr,
-                  "娉ㄥ叆绫诲瀷鍚嶇О": item.classifyInvokeAttrName,
-                  "灞傜骇璁剧疆": item.classifyInvokeLevel,
-                  "鏄惁鍙慨鏀�": item.classifyInvokeEditFlag
-                };
-              });
-            }
-            this.ProData=newVal;
-            this.initializing = false;
-            console.log('ProData',this.ProData)
-          },
-          deep: true,
-          immediate:true
-      },
+    // ProData: {
+    //       handler(newVal, oldVal) {
+    //         if(this.initializing){
+    //           this.ProData = newVal.map((item) => {
+    //             if (item.classifyInvokeAttr !=='') { // 妫�鏌lassifyInvokeText灞炴�ф槸鍚﹀瓨鍦�
+    //               item = {
+    //                 ...item,
+    //                 classifyInvokeText: {
+    //                 classifyInvokeText: {
+    //                   "娉ㄥ叆绫诲瀷": item.classifyInvokeAttr,
+    //                   "娉ㄥ叆绫诲瀷鍚嶇О": item.classifyInvokeAttrName,
+    //                   "灞傜骇璁剧疆": item.classifyInvokeLevel,
+    //                   "鏄惁鍙慨鏀�": item.classifyInvokeEditFlag
+    //                 }
+    //               }
+    //             }
+    //             }
+    //             return item;
+    //           });
+    //         }
+    //         this.initializing = false;
+    //         console.log('ProData',this.ProData)
+    //         console.log('newVal',newVal)
+    //       },
+    //       deep: true,
+    //       immediate:true
+    //   },
   },
   data() {
     return {

--
Gitblit v1.9.3