{{ props.emptyText }}
@@ -74,8 +75,8 @@
+
+
diff --git a/frontend/src/views/api-test/scenario/components/common/scriptOperationDrawer.vue b/frontend/src/views/api-test/scenario/components/common/scriptOperationDrawer.vue
new file mode 100644
index 0000000000..e44fbbd447
--- /dev/null
+++ b/frontend/src/views/api-test/scenario/components/common/scriptOperationDrawer.vue
@@ -0,0 +1,23 @@
+
+
+ waiting scriptOperation
+
+
+
+
+
+
diff --git a/frontend/src/views/api-test/scenario/components/common/stepType.vue b/frontend/src/views/api-test/scenario/components/common/stepType.vue
index 8cdeba63cc..9696d53137 100644
--- a/frontend/src/views/api-test/scenario/components/common/stepType.vue
+++ b/frontend/src/views/api-test/scenario/components/common/stepType.vue
@@ -2,11 +2,11 @@
- {{ status.label }}
+ {{ type.label }}
@@ -16,7 +16,7 @@
import { ScenarioStepType } from '@/enums/apiEnum';
const props = defineProps<{
- status: ScenarioStepType;
+ type: ScenarioStepType;
}>();
const { t } = useI18n();
@@ -37,8 +37,8 @@
[ScenarioStepType.CUSTOM_API]: { label: 'apiScenario.customApi', color: 'rgb(var(--link-4))' },
};
- const status = computed(() => {
- const config = scenarioStepMap[props.status];
+ const type = computed(() => {
+ const config = scenarioStepMap[props.type];
return {
border: `1px solid ${config?.color}`,
color: config?.color,
diff --git a/frontend/src/views/api-test/scenario/components/config.ts b/frontend/src/views/api-test/scenario/components/config.ts
new file mode 100644
index 0000000000..afa160e7f6
--- /dev/null
+++ b/frontend/src/views/api-test/scenario/components/config.ts
@@ -0,0 +1,7 @@
+export const defaultStepItemCommon = {
+ checked: false,
+ expanded: false,
+ enabled: true,
+};
+
+export default {};
diff --git a/frontend/src/views/api-test/scenario/components/step/index.vue b/frontend/src/views/api-test/scenario/components/step/index.vue
index 86186bcc62..d20b5de510 100644
--- a/frontend/src/views/api-test/scenario/components/step/index.vue
+++ b/frontend/src/views/api-test/scenario/components/step/index.vue
@@ -61,13 +61,11 @@