fix(接口测试): 场景请求步骤环境前缀&工作台组件

This commit is contained in:
baiqi 2024-11-07 11:35:29 +08:00 committed by 刘瑞斌
parent fccc35ee80
commit f8ef042a62
2 changed files with 2 additions and 0 deletions

View File

@ -588,6 +588,7 @@
// //
const showEnvPrefix = computed( const showEnvPrefix = computed(
() => () =>
requestVModel.value.customizeRequest &&
requestVModel.value.customizeRequestEnvEnable && requestVModel.value.customizeRequestEnvEnable &&
appStore.currentEnvConfig?.httpConfig.find((e) => e.type === 'NONE')?.url appStore.currentEnvConfig?.httpConfig.find((e) => e.type === 'NONE')?.url
); );

View File

@ -73,6 +73,7 @@
import useTable from '@/components/pure/ms-table/useTable'; import useTable from '@/components/pure/ms-table/useTable';
import caseLevel from '@/components/business/ms-case-associate/caseLevel.vue'; import caseLevel from '@/components/business/ms-case-associate/caseLevel.vue';
import apiStatus from '@/views/api-test/components/apiStatus.vue'; import apiStatus from '@/views/api-test/components/apiStatus.vue';
import caseAndScenarioReportDrawer from '@/views/api-test/components/caseAndScenarioReportDrawer.vue';
import ExecutionStatus from '@/views/api-test/report/component/reportStatus.vue'; import ExecutionStatus from '@/views/api-test/report/component/reportStatus.vue';
import { getScenarioPage } from '@/api/modules/api-test/scenario'; import { getScenarioPage } from '@/api/modules/api-test/scenario';