diff --git a/frontend/src/views/api-test/management/components/management/api/preview/detail.vue b/frontend/src/views/api-test/management/components/management/api/preview/detail.vue index 3b270bda07..49a8ab4029 100644 --- a/frontend/src/views/api-test/management/components/management/api/preview/detail.vue +++ b/frontend/src/views/api-test/management/components/management/api/preview/detail.vue @@ -138,7 +138,7 @@ {{ `${t('apiTestManagement.requestBody')}-${previewDetail.body.bodyType}` }} { + return record.required ? t('common.yes') : t('common.no'); + }, + width: 68, + }, { title: 'apiTestDebug.paramType', dataIndex: 'paramType', @@ -576,17 +589,6 @@ title: 'apiTestManagement.paramVal', dataIndex: 'value', inputType: 'text', - columnSelectorDisabled: true, - }, - { - title: 'apiTestManagement.required', - dataIndex: 'required', - slotName: 'required', - inputType: 'text', - valueFormat: (record) => { - return record.required ? t('common.yes') : t('common.no'); - }, - width: 68, }, { title: 'apiTestDebug.paramLengthRange', @@ -648,6 +650,17 @@ width: 220, columnSelectorDisabled: true, }, + { + title: 'apiTestManagement.required', + dataIndex: 'required', + slotName: 'required', + inputType: 'text', + columnSelectorDisabled: true, + valueFormat: (record) => { + return record.required ? t('common.yes') : t('common.no'); + }, + width: 68, + }, { title: 'apiTestManagement.paramsType', dataIndex: 'paramType', @@ -660,17 +673,6 @@ dataIndex: 'value', inputType: 'text', showTooltip: true, - columnSelectorDisabled: true, - }, - { - title: 'apiTestManagement.required', - dataIndex: 'required', - slotName: 'required', - inputType: 'text', - valueFormat: (record) => { - return record.required ? t('common.yes') : t('common.no'); - }, - width: 68, }, { title: 'apiTestDebug.paramLengthRange',