fix(接口定义): 修复场景报告取消排序报错的缺陷
--bug=1015405 --user=王孝刚 【接口测试】测试报告-场景/用例按名称升序/降序后-取消升序/降序报错 https://www.tapd.cn/55049933/s/1212598
This commit is contained in:
parent
e3ea0186b4
commit
9b5695b591
|
@ -264,7 +264,7 @@ export default {
|
|||
this.selectDataCounts = 0;
|
||||
|
||||
this.condition.reportType = this.reportType;
|
||||
if (this.condition.orders) {
|
||||
if (this.condition.orders && this.condition.orders.length > 0) {
|
||||
let order = this.condition.orders[this.condition.orders.length - 1];
|
||||
this.condition.orders = [];
|
||||
this.condition.orders.push(order);
|
||||
|
|
Loading…
Reference in New Issue