doway-coms 1.4.82 → 1.4.83

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.4.82",
3
+ "version": "1.4.83",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -1315,6 +1315,12 @@ export default {
1315
1315
  if (originCol.sortable === true) {
1316
1316
  colInfo["sortable"] = true;
1317
1317
  colInfo["sortType"] = "auto";
1318
+ if (originCol.order){
1319
+ this.defaultSort.push({
1320
+ field: originCol.field,
1321
+ order: originCol.order
1322
+ })
1323
+ }
1318
1324
  }
1319
1325
  if (originCol.fixed) {
1320
1326
  colInfo["fixed"] = originCol.fixed === "left" ? "left" : "right";
@@ -203,6 +203,7 @@
203
203
  import Sortable from 'sortablejs'
204
204
  import VXETable from 'vxe-table'
205
205
  import XEUtils from "xe-utils";
206
+ import { controlType } from "../../utils/enum";
206
207
 
207
208
  export default {
208
209
  props:{