fix(接口测试): 修复接口自动化场景列表树状菜单报错的缺陷

--bug=1026075 --user=王孝刚 [接口测试]github#24317接口自动化场景列表树状菜单报错
https://www.tapd.cn/55049933/s/1370685
This commit is contained in:
wxg0103 2023-05-10 19:04:42 +08:00 committed by 刘瑞斌
parent 9c90368bf5
commit 227371e700
1 changed files with 2 additions and 2 deletions

View File

@ -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;