fix(接口测试): 修复接口自动化场景列表树状菜单报错的缺陷
--bug=1026075 --user=王孝刚 [接口测试]github#24317接口自动化场景列表树状菜单报错 https://www.tapd.cn/55049933/s/1370685
This commit is contained in:
parent
9c90368bf5
commit
227371e700
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue