From eb6ba7a1a5febda3df81b3bf59c5a8db1928adbc Mon Sep 17 00:00:00 2001 From: alwayrun Date: Tue, 28 May 2024 14:49:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=89=A9=E6=96=99?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=BB=84=E4=BB=B6=20RangeSetter=20=E5=9C=A8?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=9C=80=E5=A4=A7=E5=80=BC=E4=B8=8E=E6=9C=80?= =?UTF-8?q?=E5=B0=8F=E5=80=BC=E5=BC=95=E5=8F=91=E9=97=AE=E9=A2=98=20(#175)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/materials/setters/widgets/RangeSetter.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/materials/setters/widgets/RangeSetter.vue b/web/src/materials/setters/widgets/RangeSetter.vue index 352a2eb5..1af9192b 100644 --- a/web/src/materials/setters/widgets/RangeSetter.vue +++ b/web/src/materials/setters/widgets/RangeSetter.vue @@ -56,8 +56,8 @@ const maxModelValue = computed(() => { const handleRangeChange = (eventType: 'max' | 'min', value: number) => { const key = props.formConfig.key - const initMinValue = props.formConfig.value.min.value - const initMaxValue = props.formConfig.value.max.value + const initMinValue = minModelValue.value + const initMaxValue = maxModelValue.value if ( (eventType === 'max' && value < initMinValue) ||