From e0b909c95b45f91cae979158f731093cad51c32a Mon Sep 17 00:00:00 2001
From: zhouchengbo <zhouchengbo@wmdigit.com>
Date: Sun, 7 Apr 2024 18:22:29 +0800
Subject: [PATCH] update

---
 src/views/home/index.vue | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index e5f3345..d9f2a86 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -1339,10 +1339,11 @@ const showInPaintDialog = (type: string, item: any) => {
       mask_ctx.clearRect(0, 0, mask_canvas.width, mask_canvas.height);
 
       mask_ctx.lineWidth = 40; // 设置线条粗细
-      mask_ctx.strokeStyle = 'rgba(255, 255, 255, 0.5)'; // 设置线条颜色
+      mask_ctx.strokeStyle = 'rgba(255, 255, 255, 1)'; // 设置线条颜色
       mask_ctx.lineCap = 'round';  // 线头尾为圆形
       mask_ctx.lineJoin = 'round'; // 拐点为圆形,默认是尖角
       // mask_ctx.globalCompositeOperation = 'destination-atop';  //避免线条重叠的时候透明度也重叠
+      // mask_ctx.globalCompositeOperation = 'copy';  //避免线条重叠的时候透明度也重叠
 
 
       let isDrawing = false;
@@ -2272,11 +2273,9 @@ const onSubmitInPaint = async () => {
     <!-- 局部重绘 -->
     <el-dialog
       v-model="inPaintVisible"
-      title="局部重绘"
       :width="parseInt(form.img_size.width) + 40"
       :close-on-click-modal="false"
       :close-on-press-escape="true"
-      :show-close="true"
       :lock-scroll="true"
     >
       <div style="color: red">请在图片上涂抹需要保留的部分</div>
-- 
2.18.1