From 6bb7da638f33384f1622b157d310ccb2ac83dd8a Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Thu, 8 Jan 2026 16:38:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=92=AD=E6=94=BE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/video/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/device/video/index.vue b/src/views/device/video/index.vue index c5722c1..bc84be8 100644 --- a/src/views/device/video/index.vue +++ b/src/views/device/video/index.vue @@ -365,7 +365,7 @@ export default { // 重绘画布:只绘制当前正在画的线(已保存的线在另一个画布上显示,不会被清除) ctx.clearRect(0, 0, canvas.width, canvas.height) ctx.strokeStyle = '#ff0000' - ctx.lineWidth = 2 + ctx.lineWidth = 3 // 绘制当前正在画的线 if (this.currentLine) { @@ -427,7 +427,7 @@ export default { const lineToDraw = this.savedLine || this.line || this.initialLine if (lineToDraw) { ctx.strokeStyle = '#ff0000' - ctx.lineWidth = 2 + ctx.lineWidth = 3 ctx.beginPath() ctx.moveTo(lineToDraw.startX, lineToDraw.startY) ctx.lineTo(lineToDraw.endX, lineToDraw.endY)