From 291040660f2a4b05b813996205ac1858da6f2af1 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Tue, 29 Oct 2024 14:20:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Djson=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=B2=A1=E6=9C=89=E5=BC=80=E5=90=AF=E5=BF=85?= =?UTF-8?q?=E5=A1=AB=EF=BC=8C=E5=BA=94=E7=94=A8=E4=B8=AD=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=BA=86=E5=BF=85=E5=A1=AB=E6=A0=87=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dynamics-form/constructor/items/JsonInputConstructor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/dynamics-form/constructor/items/JsonInputConstructor.vue b/ui/src/components/dynamics-form/constructor/items/JsonInputConstructor.vue index fbe0301b0..10eb95613 100644 --- a/ui/src/components/dynamics-form/constructor/items/JsonInputConstructor.vue +++ b/ui/src/components/dynamics-form/constructor/items/JsonInputConstructor.vue @@ -32,7 +32,7 @@ const getData = () => { props_info: { rules: [ { - required: true, + required: formValue.value.required, validator: `validator = (rule, value, callback) => { return componentFormRef.value?.validate_rules(rule, value, callback);