fix(接口定义): 修复场景报告取消排序报错的缺陷

--bug=1015405 --user=王孝刚 【接口测试】测试报告-场景/用例按名称升序/降序后-取消升序/降序报错
https://www.tapd.cn/55049933/s/1212598
This commit is contained in:
wxg0103 2022-07-26 18:20:24 +08:00 committed by f2c-ci-robot[bot]
parent e3ea0186b4
commit 9b5695b591
1 changed files with 1 additions and 1 deletions

View File

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