From c99cad106ef5be9f818e45d385dfdcec29ce19e5 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 03 十二月 2020 16:52:24 +0800 Subject: [PATCH] 修复绘制多边形撤销错误的bug --- 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