diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 7f8a8d0480..a6d27b5e3b 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -5,13 +5,13 @@
- + - + - {{ $t('operating_log.change_history') }} + {{ $t('operating_log.change_history') }} + :allow-drop="allowDrop" @node-drag-end="allowDrag" @node-click="nodeClick" draggable ref="stepTree"> { - this.showHideTree = true + this.$store.state.forceRerenderIndex = getUUID(); }); }, runDebug(runScenario) { diff --git a/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue b/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue index a8c5a551c6..e417473b5f 100644 --- a/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/common/ApiBaseComponent.vue @@ -3,7 +3,7 @@
-
{{ data.index }}
+
{{ data.index }}
{{ title }} diff --git a/frontend/src/store/index.js b/frontend/src/store/index.js index aaec873439..9cdd0222c8 100644 --- a/frontend/src/store/index.js +++ b/frontend/src/store/index.js @@ -34,7 +34,8 @@ const state = { apiStatus: new Map(), testCaseMap: new Map(), curTabId: null, - testCaseDefaultValue: {} + testCaseDefaultValue: {}, + forceRerenderIndex: "", } const store = new Vuex.Store({