fix(接口测试): 修复场景报告取消排序,未按默认排序的缺陷

--bug=1025571 --user=王孝刚 【接口测试】报告-场景/用例-创建时间/更新时间-取消升序排列后-未回复默认降序排列
https://www.tapd.cn/55049933/s/1363980
This commit is contained in:
wxg0103 2023-04-18 19:00:37 +08:00 committed by 刘瑞斌
parent c63d9ac722
commit 348e616826
1 changed files with 4 additions and 0 deletions

View File

@ -392,6 +392,10 @@ export default {
this.search(); this.search();
}, },
sort(column) { sort(column) {
//
if (this.condition.orders) {
this.condition.orders = [];
}
_sort(column, this.condition); _sort(column, this.condition);
this.init(); this.init();
}, },