@yoooloo42/joker 1.0.142 → 1.0.143

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/dist/index.cjs.js CHANGED
@@ -41895,12 +41895,6 @@ return (_ctx, _cache) => {
41895
41895
  "sort-method": (row2, row1)=>{
41896
41896
  if(col.hdlSortMethod){
41897
41897
  return col.hdlSortMethod({inherit: {row2, row1}})
41898
- }else {
41899
- if(row2.name > row1.name){
41900
- return 1 // 升序
41901
- } else {
41902
- return -1 // 降序
41903
- }
41904
41898
  }
41905
41899
  },
41906
41900
  width: col.width ? col.width : ''
@@ -42073,22 +42067,22 @@ return (_ctx, _cache) => {
42073
42067
  ]),
42074
42068
  _: 1 /* STABLE */
42075
42069
  }, 8 /* PROPS */, ["data", "onCellMouseEnter", "onRowClick", "onSelectionChange", "onSortChange"])), [
42076
- [_directive_loading, vue.unref(tableProps_box).query.loading.visible],
42070
+ [_directive_loading, vue.unref(tableProps_box).table.loading.visible],
42077
42071
  [
42078
42072
  _directive_loading,
42079
- vue.unref(tableProps_box).query.loading.visible ? vue.unref(tableProps_box).query.loading.text : '',
42073
+ vue.unref(tableProps_box).table.loading.visible ? vue.unref(tableProps_box).table.loading.text : '',
42080
42074
  void 0,
42081
42075
  { text: true }
42082
42076
  ],
42083
42077
  [
42084
42078
  _directive_loading,
42085
- vue.unref(tableProps_box).query.loading.visible ? vue.unref(tableProps_box).query.loading.spinner : '',
42079
+ vue.unref(tableProps_box).table.loading.visible ? vue.unref(tableProps_box).table.loading.spinner : '',
42086
42080
  void 0,
42087
42081
  { spinner: true }
42088
42082
  ],
42089
42083
  [
42090
42084
  _directive_loading,
42091
- vue.unref(tableProps_box).query.loading.visible ? vue.unref(tableProps_box).query.loading.background : '',
42085
+ vue.unref(tableProps_box).table.loading.visible ? vue.unref(tableProps_box).table.loading.background : '',
42092
42086
  void 0,
42093
42087
  { background: true }
42094
42088
  ]
@@ -42140,6 +42134,12 @@ var ly0default$1 = {
42140
42134
  },
42141
42135
  topButtonGroups: [],
42142
42136
  table: {
42137
+ loading: {
42138
+ visible: false,
42139
+ text: "加载中...",
42140
+ spinner: 'el-icon-loading',
42141
+ background: 'rgba(0, 0, 0, 0.8)'
42142
+ },
42143
42143
  colShow: {
42144
42144
  // 列元素类型
42145
42145
  image: {
@@ -42188,13 +42188,7 @@ var ly0default$1 = {
42188
42188
  order: ""
42189
42189
  },
42190
42190
  pageSize: 10,
42191
- currentPage: 1,
42192
- loading: {
42193
- visible: false,
42194
- text: "加载中...",
42195
- spinner: 'el-icon-loading',
42196
- background: 'rgba(0, 0, 0, 0.8)'
42197
- }
42191
+ currentPage: 1
42198
42192
  }
42199
42193
  }};
42200
42194