diff --git a/frontend/package.json b/frontend/package.json index 10bf93c1b4..ab73330e9e 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -38,7 +38,6 @@ "vue-echarts": "^4.1.0", "vue-float-action-button": "^0.6.6", "vue-i18n": "^8.15.3", - "vue-input-tag": "^2.0.7", "vue-jsonpath-picker": "^1.1.5", "vue-papa-parse": "^2.0.0", "vue-pdf": "^4.2.0", diff --git a/frontend/src/business/components/api/automation/scenario/component/ApiResponseComponent.vue b/frontend/src/business/components/api/automation/scenario/component/ApiResponseComponent.vue index 8b74501e7c..1fd226a48b 100644 --- a/frontend/src/business/components/api/automation/scenario/component/ApiResponseComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/ApiResponseComponent.vue @@ -33,6 +33,9 @@ }, created() { this.getExecResult(); + if (this.apiItem.isActive) { + this.isActive = true; + } }, methods: { getExecResult() { diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue index 201d9465e2..7f7c4a326c 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -269,8 +269,9 @@ return true; } }, - showExecResult(data) { - this.$emit('showExecResult', data); + showExecResult(item) { + item.active = false; + item.isActive = true; }, getBodyUploadFiles(row) { let bodyUploadFiles = [];