diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 4407c158d4..750513e20b 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -1042,6 +1042,13 @@ this.currentScenario.headers = obj.headers; } this.enableCookieShare = obj.enableCookieShare; + if (obj.hashTree) { + obj.hashTree.forEach(item => { + if (!item.hashTree) { + item.hashTree = []; + } + }); + } this.scenarioDefinition = obj.hashTree; } } diff --git a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue index 3325bffecd..8ccd008fbf 100644 --- a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue +++ b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue @@ -300,6 +300,10 @@ export default {