diff --git a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue index 5f3bba8a44..ec80eb4a03 100644 --- a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue +++ b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue @@ -30,365 +30,365 @@ diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 5e46b1025d..3519d621c9 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -5,7 +5,7 @@
- {{$t('operating_log.change_history')}} + {{ $t('operating_log.change_history') }} @@ -118,7 +118,7 @@ - {{$t('api_test.automation.step_total')}}:{{scenarioDefinition.length}} + {{ $t('api_test.automation.step_total') }}:{{ scenarioDefinition.length }} {{ $t('api_test.automation.scenario_total') }} @@ -148,10 +148,10 @@
- {{$t('api_test.automation.open_expansion')}} + {{ $t('api_test.automation.open_expansion') }} - {{$t('api_test.automation.close_expansion')}} + {{ $t('api_test.automation.close_expansion') }} diff --git a/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue b/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue index ff1272a34b..0f535209c5 100644 --- a/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue @@ -336,10 +336,10 @@ export default { if (this.node) { this.node.expanded = this.request.active; } - if (this.node.expanded && this.expandedNode.indexOf(this.request.resourceId) === -1) { + if (this.node.expanded && this.expandedNode && this.expandedNode.indexOf(this.request.resourceId) === -1) { this.expandedNode.push(this.request.resourceId); } else { - if (this.expandedNode.indexOf(this.request.resourceId) !== -1) { + if (this.expandedNode && this.expandedNode.indexOf(this.request.resourceId) !== -1) { this.expandedNode.splice(this.expandedNode.indexOf(this.request.resourceId), 1); } } diff --git a/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue b/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue index 4c6115de74..15eddbb5b3 100644 --- a/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue @@ -6,10 +6,10 @@
- {{$t('api_test.automation.open_expansion')}} + {{ $t('api_test.automation.open_expansion') }} - {{$t('api_test.automation.close_expansion')}} + {{ $t('api_test.automation.close_expansion') }}