From 0175cda6150656bc74b34c6f6c71edd1e1fc653c Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期四, 04 二月 2021 18:22:54 +0800 Subject: [PATCH] treee, 修复tab切换时树的选中状态.添加区域 --- src/Pool/CardList.ts | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/Pool/CardList.ts b/src/Pool/CardList.ts index c68b8a9..eb66b79 100644 --- a/src/Pool/CardList.ts +++ b/src/Pool/CardList.ts @@ -22,10 +22,8 @@ // } // 瑙e喅鑱斿姩浠诲姟璇︽儏涓嬩竴涓猙ug let ele = (this.datalist as any)[i].activeObject; - console.log(i) if ((ele as any).id === id && i !== 0) { if (i - 1 < 0) { - console.log('aaaaaaaaaaa') return false; } return this.datalist[i - 1]; -- Gitblit v1.8.0