From 227371e7004f414847658a384951779cca47d5f4 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 10 May 2023 19:04:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8=E5=8C=96?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E5=88=97=E8=A1=A8=E6=A0=91=E7=8A=B6=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=8A=A5=E9=94=99=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026075 --user=王孝刚 [接口测试]github#24317接口自动化场景列表树状菜单报错 https://www.tapd.cn/55049933/s/1370685 --- .../src/business/automation/scenario/ApiScenarioList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;