atr-components 3.0.18 → 3.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3515,7 +3515,7 @@ class AtrTableComponent {
|
|
|
3515
3515
|
let params = {
|
|
3516
3516
|
page: this.pageIndex,
|
|
3517
3517
|
limit: this.pageSize,
|
|
3518
|
-
|
|
3518
|
+
sortBy: this.getSortInfo()
|
|
3519
3519
|
};
|
|
3520
3520
|
params = Object.assign(params, this.defaultParams);
|
|
3521
3521
|
if (!this.atrForm) {
|
|
@@ -3592,8 +3592,8 @@ class AtrTableComponent {
|
|
|
3592
3592
|
}
|
|
3593
3593
|
}
|
|
3594
3594
|
let order = "";
|
|
3595
|
-
if (orderby.length < 1 && this.queryOpts.
|
|
3596
|
-
order = this.queryOpts.
|
|
3595
|
+
if (orderby.length < 1 && this.queryOpts.sortBy) {
|
|
3596
|
+
order = this.queryOpts.sortBy;
|
|
3597
3597
|
}
|
|
3598
3598
|
else
|
|
3599
3599
|
order = orderby.join(",");
|