From af7b61a290fa2f6d488140b395932b9f397f0352 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Fri, 29 Aug 2025 11:44:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=90=8D=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/miliu-autograph/miliu-autograph.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/miliu-autograph/miliu-autograph.vue b/src/components/miliu-autograph/miliu-autograph.vue index fafb713..182c0a5 100644 --- a/src/components/miliu-autograph/miliu-autograph.vue +++ b/src/components/miliu-autograph/miliu-autograph.vue @@ -70,7 +70,6 @@ const touchstart = (e) => { let startPoint = { X: startX, Y: startY } points.push(startPoint) canvaCtx.beginPath() - hasDrawn.value = true // 标记已签名 } // 触摸移动 const touchmove = (e) => { @@ -80,6 +79,7 @@ const touchmove = (e) => { points.push(movePoint) if (points.length >= 2) { draw() + hasDrawn.value = true // 标记已签名 } } // 绘制