mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
fix(接口测试): 修复多层嵌套场景中间层级调试结果显示问题
--bug=1028484 --user=赵勇 【接口测试】多层嵌套场景调试中间层级未更新步骤结果 https://www.tapd.cn/55049933/s/1401819 Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
4e2e2460c9
commit
a00f87bcdd
@ -1790,6 +1790,11 @@ export default {
|
||||
scenario = runScenario;
|
||||
this.runScenario = runScenario;
|
||||
}
|
||||
if (runScenario && runScenario.type === 'scenario' && !hasRequest) {
|
||||
this.sort(this.runScenario.hashTree);
|
||||
} else {
|
||||
this.sort();
|
||||
}
|
||||
//调试时不再保存
|
||||
this.debugData = {
|
||||
id: scenario ? scenario.id : this.currentScenario.id,
|
||||
|
@ -454,10 +454,6 @@ export default {
|
||||
selectEnvId = store.scenarioEnvMap.get(this.currentScenario.id + '_' + this.request.projectId);
|
||||
this.environmentMap = this.envMap;
|
||||
}
|
||||
if (!selectEnvId && !this.environmentGroupId) {
|
||||
this.$warning(this.$t('api_test.automation.env_message'));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!this.request.enable) {
|
||||
|
Loading…
Reference in New Issue
Block a user