From 814985200bc5dd73368a603a594a6f3469a8befd Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期五, 30 十二月 2022 16:57:00 +0800
Subject: [PATCH] 修复树组件多选的bug

---
 src/pages/library/components/baseList.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/pages/library/components/baseList.vue b/src/pages/library/components/baseList.vue
index 9a70af5..f783270 100644
--- a/src/pages/library/components/baseList.vue
+++ b/src/pages/library/components/baseList.vue
@@ -232,10 +232,12 @@
     defaultShow() {
       if (this.syncTableList && this.syncTableList.length) {
         this.clickCategory(0, "sync", this.syncTableList[0]);
-      } else {
+      } else 
         if (this.localTableList && this.localTableList.length) {
           this.clickCategory(0, "local", this.syncTableList[0]);
         }
+      else {
+        console.log("this.localTableList.length",this.localTableList.length)
       }
     },
     // 娣诲姞鏃堕棿姣旇緝鍑芥暟

--
Gitblit v1.8.0