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