diff --git a/api-test/frontend/src/business/automation/scenario/ApiScenarioList.vue b/api-test/frontend/src/business/automation/scenario/ApiScenarioList.vue index 3f06b90c3e..1d3764021c 100644 --- a/api-test/frontend/src/business/automation/scenario/ApiScenarioList.vue +++ b/api-test/frontend/src/business/automation/scenario/ApiScenarioList.vue @@ -882,7 +882,7 @@ export default { }; } - if (!this.condition.filters.status) { + if (!this.condition.filters || !this.condition.filters.status) { this.condition.filters = { status: ['Prepare', 'Underway', 'Completed'], }; @@ -894,7 +894,7 @@ export default { this.condition.projectId = this.projectId; } - this.enableOrderDrag = this.condition.orders.length <= 0; + this.enableOrderDrag = this.condition.orders && this.condition.orders.length <= 0; //检查是否只查询本周数据 this.condition.selectThisWeedData = false;