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)