diff --git a/frontend/src/components/business/ms-assertion/comp/VariableTab.vue b/frontend/src/components/business/ms-assertion/comp/VariableTab.vue index 5ffb7d6309..252e740aaa 100644 --- a/frontend/src/components/business/ms-assertion/comp/VariableTab.vue +++ b/frontend/src/components/business/ms-assertion/comp/VariableTab.vue @@ -16,8 +16,6 @@ import { EQUAL, statusCodeOptions } from '@/components/pure/ms-advance-filter/index'; import paramsTable, { type ParamTableColumn } from '@/views/api-test/components/paramTable.vue'; - import { responseHeaderOption } from '@/config/apiTest'; - interface Param { [key: string]: any; variableAssertionItems: any[]; @@ -48,7 +46,6 @@ slotName: 'key', showInTable: true, showDrag: true, - options: responseHeaderOption, }, { title: 'ms.assertion.matchCondition', // 匹配条件 diff --git a/frontend/src/components/pure/ms-form-table/index.vue b/frontend/src/components/pure/ms-form-table/index.vue index cb2134d7f0..0fd05af096 100644 --- a/frontend/src/components/pure/ms-form-table/index.vue +++ b/frontend/src/components/pure/ms-form-table/index.vue @@ -539,7 +539,7 @@ emit('selectAll', checked); } - function rowClass(record: TableData, rowIndex: number) { + function rowClass(record: TableData) { if (record.diff) { if (props.diffMode === 'add') { return 'add-row-class'; @@ -575,6 +575,12 @@ .arco-textarea-wrapper { border-radius: 0; } + article { + position: relative; + top: 50%; + display: inline-block; + transform: translateY(-50%); /* 垂直居中 */ + } } } .ms-form-table-td-text { @@ -663,6 +669,7 @@ } } :deep(.ms-form-table-input:not(.arco-input-focus, .arco-select-view-focus, .arco-textarea-focus)) { + border-radius: 0; &:not(:hover) { @apply bg-transparent; diff --git a/frontend/src/views/api-test/components/paramTable.vue b/frontend/src/views/api-test/components/paramTable.vue index 01a00b529f..c8afa08dd6 100644 --- a/frontend/src/views/api-test/components/paramTable.vue +++ b/frontend/src/views/api-test/components/paramTable.vue @@ -926,7 +926,7 @@ }); const { lastDataIsDefault } = filterKeyValParams(arr, defaultLineData.value, false); if ( - (arr.length === 1 && !lastDataIsDefault) || + !lastDataIsDefault || (hasNoIdItem && !props.disabledExceptParam && !props.disabledParamValue && diff --git a/frontend/src/views/api-test/components/requestComposition/response/index.vue b/frontend/src/views/api-test/components/requestComposition/response/index.vue index c69eb8023b..8ca263cb77 100644 --- a/frontend/src/views/api-test/components/requestComposition/response/index.vue +++ b/frontend/src/views/api-test/components/requestComposition/response/index.vue @@ -60,7 +60,7 @@