fix: 测试用例排序bug
This commit is contained in:
parent
f4e3fccf5b
commit
0461766d85
|
@ -316,6 +316,10 @@
|
||||||
this.initTableData();
|
this.initTableData();
|
||||||
},
|
},
|
||||||
sort(column) {
|
sort(column) {
|
||||||
|
// 每次只对一个字段排序
|
||||||
|
if (this.condition.orders) {
|
||||||
|
this.condition.orders = [];
|
||||||
|
}
|
||||||
_sort(column, this.condition);
|
_sort(column, this.condition);
|
||||||
this.initTableData();
|
this.initTableData();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue