fix(schema): 禁用时必填可点击修复
This commit is contained in:
parent
6e0c20771e
commit
039572994c
|
@ -928,6 +928,9 @@
|
|||
}
|
||||
|
||||
function toggleRequired(record: JsonSchemaTableItem) {
|
||||
if (props.disabled) {
|
||||
return;
|
||||
}
|
||||
record.required = !record.required;
|
||||
emitChange('toggleRequired');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue