From 313e10e1a0f24fa66b13a4b59518a7822e6eca98 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 30 Oct 2024 10:55:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=A0=A1=E9=AA=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../constructor/items/SliderConstructor.vue | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/ui/src/components/dynamics-form/constructor/items/SliderConstructor.vue b/ui/src/components/dynamics-form/constructor/items/SliderConstructor.vue index c1c47b5e1..12c983096 100644 --- a/ui/src/components/dynamics-form/constructor/items/SliderConstructor.vue +++ b/ui/src/components/dynamics-form/constructor/items/SliderConstructor.vue @@ -2,7 +2,7 @@ - + - - + + + + + { + if (!value) { + callback(new Error('步长值必填')) + return false + } if (value === 0) { callback(new Error('步长不能为0')) return false