fix(接口测试): 修复场景报告取消排序,未按默认排序的缺陷
--bug=1025571 --user=王孝刚 【接口测试】报告-场景/用例-创建时间/更新时间-取消升序排列后-未回复默认降序排列 https://www.tapd.cn/55049933/s/1363980
This commit is contained in:
parent
c63d9ac722
commit
348e616826
|
@ -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();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue