From 100ef2fe040e7b6bd08f8f1910628a2ce0fb001e Mon Sep 17 00:00:00 2001 From: Alice Peng <1399789151@qq.com> Date: Mon, 24 Jun 2024 18:52:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(stroke):=20=E4=BF=AE=E5=A4=8D=E6=8F=8F?= =?UTF-8?q?=E8=BE=B9=E8=89=B2=E5=BD=A9=E9=80=89=E6=8B=A9=E5=99=A8=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/imgStroke.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/imgStroke.vue b/src/components/imgStroke.vue index 3b071728..3e67f857 100644 --- a/src/components/imgStroke.vue +++ b/src/components/imgStroke.vue @@ -52,7 +52,7 @@
- +
@@ -64,6 +64,7 @@ import useSelect from '@/hooks/select'; import { Slider } from 'view-ui-plus'; import { fabric } from 'fabric'; import { Utils } from '@kuaitu/core'; +import { values } from 'lodash-es'; interface IExtendImage { [x: string]: any; @@ -118,6 +119,7 @@ const onSliderChange = (val: number) => { }; const onColorChange = (val: string) => { + console.log('onColorChnage', val); strokeColor.value = val; updateStroke(); };