diff --git a/frontend/src/components/pure/ms-json-schema/index.vue b/frontend/src/components/pure/ms-json-schema/index.vue index 04837d4967..aa9f14f00f 100644 --- a/frontend/src/components/pure/ms-json-schema/index.vue +++ b/frontend/src/components/pure/ms-json-schema/index.vue @@ -928,6 +928,9 @@ } function toggleRequired(record: JsonSchemaTableItem) { + if (props.disabled) { + return; + } record.required = !record.required; emitChange('toggleRequired'); }