From 388daad59d20da84118067593fc88a89e3f8c9d8 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 07 七月 2023 17:59:50 +0800
Subject: [PATCH] 主题库7-7完善发现bug

---
 Source/UBCS-WEB/src/components/Master/MasterTree.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Master/MasterTree.vue b/Source/UBCS-WEB/src/components/Master/MasterTree.vue
index 8506919..4d63d27 100644
--- a/Source/UBCS-WEB/src/components/Master/MasterTree.vue
+++ b/Source/UBCS-WEB/src/components/Master/MasterTree.vue
@@ -68,14 +68,14 @@
     }
   },
   created() {
-    this.getTreeList()
+    this.getTreeLists()
 
   },
   computed:{
    },
   methods:{
     //鑾峰彇鏁版嵁
-    getTreeList(){
+    getTreeLists(){
       getTreeList({'conditionMap[id]': 'wupin'}).then(res=>{
         this.Treedata=res.data
         this.ModifyProperties(this.Treedata, 'text', 'label');
@@ -132,6 +132,7 @@
               width: item.minWidth
             };
          this.tableHeadFindData.push(columnItem)
+            // console.log(' this.tableHeadFindData', this.tableHeadFindData)
           })
           this.$emit('tableHeadDataFateher', this.tableHeadDataFateher);
           this.$emit('tableHeadFindData', this.tableHeadFindData);
@@ -145,13 +146,13 @@
     async nodeClick(data) {
       try {
         this.nodeClickList = data;
+        this.tableHeadDataFateher=[]
+        this.tableHeadFindData=[]
         await this.TableHeadRend(); // 鍏堟墽琛� TableHeadRend()
         this.TableRend(); // TableHeadRend() 鏂规硶瀹屾垚鍚庡啀鎵ц TableRend()
         this.$emit('nodeClick',this.templateOids)
         this.$emit("codeClassifyOid", this.nodeClickList.oid )
-        console.log('鍏冩暟鎹�',this.templateOids)
-        console.log('鍏冩暟鎹甤od',this.codeClassifyOid)
-        console.log('鍏冩暟鎹畁odeclick', this.nodeClickList.oid)
+  
       } catch (error) {
         // 澶勭悊閿欒
         this.$message.error(error)

--
Gitblit v1.9.3