diff --git a/frontend/src/components/pure/ms-table/base-table.vue b/frontend/src/components/pure/ms-table/base-table.vue index c7d97b967e..acac20e6d1 100644 --- a/frontend/src/components/pure/ms-table/base-table.vue +++ b/frontend/src/components/pure/ms-table/base-table.vue @@ -51,7 +51,7 @@ v-model:model-value="record.tableChecked" @change="(val) => handleRadioChange(val as boolean, record)" /> -
+
0; + return item.children && item.children.length > 0 && item.status && item.status !== 'PENDING'; } function handleStop(event: Event, step: ScenarioItemType) { diff --git a/frontend/src/views/api-test/report/component/stepProgress.vue b/frontend/src/views/api-test/report/component/stepProgress.vue index a914554eed..17e138bc50 100644 --- a/frontend/src/views/api-test/report/component/stepProgress.vue +++ b/frontend/src/views/api-test/report/component/stepProgress.vue @@ -89,11 +89,11 @@ color: 'rgb(var(--success-6))', }, { - percentage: (props.reportDetail.stepFakeErrorCount / getCountTotal.value) * 100, + percentage: (props.reportDetail.stepErrorCount / getCountTotal.value) * 100, color: 'rgb(var(--danger-6))', }, { - percentage: (props.reportDetail.stepErrorCount / getCountTotal.value) * 100, + percentage: (props.reportDetail.stepFakeErrorCount / getCountTotal.value) * 100, color: 'rgb(var(--warning-6))', }, { diff --git a/frontend/src/views/api-test/scenario/create/index.vue b/frontend/src/views/api-test/scenario/create/index.vue index c7d9eba1d3..053dbfd0ac 100644 --- a/frontend/src/views/api-test/scenario/create/index.vue +++ b/frontend/src/views/api-test/scenario/create/index.vue @@ -35,15 +35,24 @@ v-model:pre-processor-config="scenario.scenarioConfig.preProcessorConfig" /> - + + { + return scenario.value.scenarioConfig.assertionConfig.assertions.length > 99 + ? '99+' + : `${scenario.value.scenarioConfig.assertionConfig.assertions.length}` || ''; + }); + defineExpose({ validScenarioForm, }); @@ -182,4 +197,10 @@ padding: 8px 16px; } } + :deep(.active-badge) { + .arco-badge-text, + .arco-badge-number { + background-color: rgb(var(--primary-5)); + } + } diff --git a/frontend/src/views/project-management/environmental/components/EnvParamBox.vue b/frontend/src/views/project-management/environmental/components/EnvParamBox.vue index 7015a3eb0b..e8f01fed88 100644 --- a/frontend/src/views/project-management/environmental/components/EnvParamBox.vue +++ b/frontend/src/views/project-management/environmental/components/EnvParamBox.vue @@ -32,30 +32,27 @@ /> - - - - - + -
- - - - - -
+ + + + +
- +