From 9bf80f4a48843c41934f31cc1a90aa2047f4252b Mon Sep 17 00:00:00 2001 From: huanhuanwa <2323666215@qq.com> Date: Thu, 27 Jun 2024 15:06:50 +0800 Subject: [PATCH] fix: remove console --- src/app/plugins/with-common.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/plugins/with-common.ts b/src/app/plugins/with-common.ts index 2e5b6e68b..91fb6aa93 100644 --- a/src/app/plugins/with-common.ts +++ b/src/app/plugins/with-common.ts @@ -37,16 +37,13 @@ export const withCommonPlugin = (board: PlaitBoard) => { export const getCommonHitElement = (board: PlaitBoard, elements: PlaitElement[]) => { let firstFilledElement: PlaitElement | null = null; let filledElementIndex = -1; - console.log(elements); for (let i = 0; i < elements.length; i++) { const element = elements[i]; let fill = ''; if (PlaitDrawElement.isGeometry(element) && !PlaitDrawElement.isText(element)) { fill = getDrawFillByElement(board, element); - console.log(1, fill); } if (MindElement.isMindElement(board, element)) { - console.log(2, fill); fill = getMindFillByElement(board, element); } if (fill && fill !== DefaultDrawStyle.fill && fill !== TRANSPARENT) {