diff --git a/frontend/src/components/pure/ms-form-table/index.vue b/frontend/src/components/pure/ms-form-table/index.vue index 5b613153b3..6526ba2d16 100644 --- a/frontend/src/components/pure/ms-form-table/index.vue +++ b/frontend/src/components/pure/ms-form-table/index.vue @@ -1,5 +1,5 @@ @@ -102,6 +112,7 @@ :min="0" :precision="0" size="medium" + :disabled="props.disabled" />
-
@@ -111,6 +122,7 @@ v-model:model-value="record.minimum" class="ms-form-table-input-number" size="medium" + :disabled="props.disabled" />
-
@@ -128,6 +141,7 @@ v-model:model-value="record.maximum" class="ms-form-table-input-number" size="medium" + :disabled="props.disabled" />
-
@@ -148,6 +163,7 @@ :min="0" :step="1" :precision="0" + :disabled="props.disabled" />
-
@@ -160,6 +176,7 @@ :min="0" :step="1" :precision="0" + :disabled="props.disabled" />
-
@@ -169,6 +186,7 @@ v-model:model-value="record.defaultValue" class="ms-form-table-input-number" size="medium" + :disabled="props.disabled" />
-
@@ -221,12 +243,15 @@ - + - + @@ -269,7 +294,7 @@ :ok-text="t('common.save')" @confirm="applySetting" > - + (); const { t } = useI18n(); const defaultItem: JsonSchemaTableItem = { diff --git a/frontend/src/views/api-test/components/paramTable.vue b/frontend/src/views/api-test/components/paramTable.vue index cf6b89d11c..70cb04af1f 100644 --- a/frontend/src/views/api-test/components/paramTable.vue +++ b/frontend/src/views/api-test/components/paramTable.vue @@ -74,7 +74,13 @@ diff --git a/frontend/src/views/api-test/components/requestComposition/body.vue b/frontend/src/views/api-test/components/requestComposition/body.vue index 284ec81cfb..939bf8d8be 100644 --- a/frontend/src/views/api-test/components/requestComposition/body.vue +++ b/frontend/src/views/api-test/components/requestComposition/body.vue @@ -130,6 +130,7 @@ ref="jsonSchemaRef" v-model:data="innerParams.jsonBody.jsonSchemaTableData" v-model:selectedKeys="selectedKeys" + :disabled="props.disabledExceptParam" />