fix: 修复json类型参数没有开启必填,应用中显示了必填标志

This commit is contained in:
shaohuzhang1 2024-10-29 14:20:54 +08:00 committed by shaohuzhang1
parent 77d29471a1
commit 291040660f

View File

@ -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);