@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 +11 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +11 -17
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -41891,12 +41891,6 @@ return (_ctx, _cache) => {
|
|
|
41891
41891
|
"sort-method": (row2, row1)=>{
|
|
41892
41892
|
if(col.hdlSortMethod){
|
|
41893
41893
|
return col.hdlSortMethod({inherit: {row2, row1}})
|
|
41894
|
-
}else {
|
|
41895
|
-
if(row2.name > row1.name){
|
|
41896
|
-
return 1 // 升序
|
|
41897
|
-
} else {
|
|
41898
|
-
return -1 // 降序
|
|
41899
|
-
}
|
|
41900
41894
|
}
|
|
41901
41895
|
},
|
|
41902
41896
|
width: col.width ? col.width : ''
|
|
@@ -42069,22 +42063,22 @@ return (_ctx, _cache) => {
|
|
|
42069
42063
|
]),
|
|
42070
42064
|
_: 1 /* STABLE */
|
|
42071
42065
|
}, 8 /* PROPS */, ["data", "onCellMouseEnter", "onRowClick", "onSelectionChange", "onSortChange"])), [
|
|
42072
|
-
[_directive_loading, unref(tableProps_box).
|
|
42066
|
+
[_directive_loading, unref(tableProps_box).table.loading.visible],
|
|
42073
42067
|
[
|
|
42074
42068
|
_directive_loading,
|
|
42075
|
-
unref(tableProps_box).
|
|
42069
|
+
unref(tableProps_box).table.loading.visible ? unref(tableProps_box).table.loading.text : '',
|
|
42076
42070
|
void 0,
|
|
42077
42071
|
{ text: true }
|
|
42078
42072
|
],
|
|
42079
42073
|
[
|
|
42080
42074
|
_directive_loading,
|
|
42081
|
-
unref(tableProps_box).
|
|
42075
|
+
unref(tableProps_box).table.loading.visible ? unref(tableProps_box).table.loading.spinner : '',
|
|
42082
42076
|
void 0,
|
|
42083
42077
|
{ spinner: true }
|
|
42084
42078
|
],
|
|
42085
42079
|
[
|
|
42086
42080
|
_directive_loading,
|
|
42087
|
-
unref(tableProps_box).
|
|
42081
|
+
unref(tableProps_box).table.loading.visible ? unref(tableProps_box).table.loading.background : '',
|
|
42088
42082
|
void 0,
|
|
42089
42083
|
{ background: true }
|
|
42090
42084
|
]
|
|
@@ -42136,6 +42130,12 @@ var ly0default$1 = {
|
|
|
42136
42130
|
},
|
|
42137
42131
|
topButtonGroups: [],
|
|
42138
42132
|
table: {
|
|
42133
|
+
loading: {
|
|
42134
|
+
visible: false,
|
|
42135
|
+
text: "加载中...",
|
|
42136
|
+
spinner: 'el-icon-loading',
|
|
42137
|
+
background: 'rgba(0, 0, 0, 0.8)'
|
|
42138
|
+
},
|
|
42139
42139
|
colShow: {
|
|
42140
42140
|
// 列元素类型
|
|
42141
42141
|
image: {
|
|
@@ -42184,13 +42184,7 @@ var ly0default$1 = {
|
|
|
42184
42184
|
order: ""
|
|
42185
42185
|
},
|
|
42186
42186
|
pageSize: 10,
|
|
42187
|
-
currentPage: 1
|
|
42188
|
-
loading: {
|
|
42189
|
-
visible: false,
|
|
42190
|
-
text: "加载中...",
|
|
42191
|
-
spinner: 'el-icon-loading',
|
|
42192
|
-
background: 'rgba(0, 0, 0, 0.8)'
|
|
42193
|
-
}
|
|
42187
|
+
currentPage: 1
|
|
42194
42188
|
}
|
|
42195
42189
|
}};
|
|
42196
42190
|
|