diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index 05c6d84e11..87276504ec 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -724,6 +724,10 @@ export default { this.condition.moduleIds = []; } + if (!this.condition.filters.status) { + this.condition.filters = {status: ["Prepare", "Underway", "Completed"]}; + } + // todo if (projectId != null && typeof projectId === 'string') { this.condition.projectId = projectId; diff --git a/frontend/src/business/components/api/definition/components/list/ApiList.vue b/frontend/src/business/components/api/definition/components/list/ApiList.vue index 5009c54e33..cde2f51367 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiList.vue @@ -662,6 +662,9 @@ export default { if (currentProtocol) { this.condition.moduleIds = []; } + if (!this.condition.filters.status) { + this.condition.filters = {status: ["Prepare", "Underway", "Completed"]}; + } if (this.condition.projectId) { this.result = this.$post("/api/definition/list/" + this.currentPage + "/" + this.pageSize, this.condition, response => {