From 55f4c3a5075fe2e850a9ec19047fb8e161b91739 Mon Sep 17 00:00:00 2001 From: cheng <545895878@qq.com> Date: Sat, 6 Dec 2025 23:48:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/src/App.vue b/src/App.vue index 9f59b0e..12a1476 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,7 +14,7 @@ 多边形 @@ -22,7 +22,7 @@ 矩形 @@ -30,20 +30,12 @@ 圆形 - - 取消绘制 - @@ -616,16 +608,7 @@ const startDrawCircle = () => { }) } -// 取消绘制 -const cancelDrawing = () => { - if (mouseTool) { - mouseTool.close(true) // 关闭绘制工具,true表示取消当前绘制 - } - - // 重置状态 - isDrawing.value = false - currentDrawType.value = null -} +// 取消绘制功能已移除 // 获取类型名称 const getTypeName = (type) => {