From f74166b3ed257a5e7f463019de3a7a90dae69c2b Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 22 十一月 2022 10:33:45 +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