@yoooloo42/joker 1.0.158 → 1.0.160
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 +19 -18
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +19 -18
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22642,6 +22642,7 @@ const refresh = async _ref => {
|
|
|
22642
22642
|
scopeThis,
|
|
22643
22643
|
message
|
|
22644
22644
|
} = _ref;
|
|
22645
|
+
scopeThis.tableProps.table.loading.visible = true;
|
|
22645
22646
|
const result = await ly0request$1.storpro({
|
|
22646
22647
|
storproName: scopeThis.storpro.refresh,
|
|
22647
22648
|
data: {
|
|
@@ -22651,6 +22652,7 @@ const refresh = async _ref => {
|
|
|
22651
22652
|
page: scopeThis.query && scopeThis.query.currentPage ? scopeThis.query.currentPage : 1
|
|
22652
22653
|
}
|
|
22653
22654
|
});
|
|
22655
|
+
scopeThis.tableProps.table.loading.visible = false;
|
|
22654
22656
|
if (result.code === 0) {
|
|
22655
22657
|
unclassified.deepClone.deepMerge(scopeThis.tableData, {
|
|
22656
22658
|
data: result.data,
|
|
@@ -42349,19 +42351,19 @@ return (_ctx, _cache) => {
|
|
|
42349
42351
|
[_directive_loading, vue.unref(tableProps_box).table.loading.visible],
|
|
42350
42352
|
[
|
|
42351
42353
|
_directive_loading,
|
|
42352
|
-
vue.unref(tableProps_box).table.loading.
|
|
42354
|
+
vue.unref(tableProps_box).table.loading.text,
|
|
42353
42355
|
void 0,
|
|
42354
42356
|
{ text: true }
|
|
42355
42357
|
],
|
|
42356
42358
|
[
|
|
42357
42359
|
_directive_loading,
|
|
42358
|
-
|
|
42360
|
+
vue.unref(tableProps_box).table.loading.spinner,
|
|
42359
42361
|
void 0,
|
|
42360
42362
|
{ spinner: true }
|
|
42361
42363
|
],
|
|
42362
42364
|
[
|
|
42363
42365
|
_directive_loading,
|
|
42364
|
-
vue.unref(tableProps_box).table.loading.
|
|
42366
|
+
vue.unref(tableProps_box).table.loading.background,
|
|
42365
42367
|
void 0,
|
|
42366
42368
|
{ background: true }
|
|
42367
42369
|
]
|
|
@@ -42459,17 +42461,19 @@ var ly0default$1 = {
|
|
|
42459
42461
|
excel: {
|
|
42460
42462
|
fileName: "table-to-excel.xlsx" // 另存excel文件名}
|
|
42461
42463
|
}
|
|
42462
|
-
},
|
|
42463
|
-
query: {
|
|
42464
|
-
// 查询体
|
|
42465
|
-
sort: {
|
|
42466
|
-
label: "",
|
|
42467
|
-
order: ""
|
|
42468
|
-
},
|
|
42469
|
-
pageSize: 10,
|
|
42470
|
-
currentPage: 1
|
|
42471
42464
|
}
|
|
42472
|
-
}
|
|
42465
|
+
},
|
|
42466
|
+
modelValue: {
|
|
42467
|
+
data: [],
|
|
42468
|
+
total: 0,
|
|
42469
|
+
sort: {
|
|
42470
|
+
label: "",
|
|
42471
|
+
order: ""
|
|
42472
|
+
},
|
|
42473
|
+
pageSize: 10,
|
|
42474
|
+
currentPage: 1
|
|
42475
|
+
}
|
|
42476
|
+
};
|
|
42473
42477
|
|
|
42474
42478
|
var script$c = {
|
|
42475
42479
|
__name: 'Index',
|
|
@@ -42492,11 +42496,8 @@ var script$c = {
|
|
|
42492
42496
|
const props = __props;
|
|
42493
42497
|
|
|
42494
42498
|
// 顶层组件的props属性需做响应性包装,页面和js可以使用相同的命名
|
|
42495
|
-
let tableData_box = vue.reactive(props.modelValue);
|
|
42496
|
-
const tableProps_box = vue.reactive(unclassified.deepClone.deepMerge(
|
|
42497
|
-
unclassified.deepClone.deepClone(ly0default$1.myProps),
|
|
42498
|
-
props.myProps
|
|
42499
|
-
));
|
|
42499
|
+
let tableData_box = vue.reactive(unclassified.deepClone.deepMerge(props.modelValue, ly0default$1.modelValue));
|
|
42500
|
+
const tableProps_box = vue.reactive(unclassified.deepClone.deepMerge(props.myProps, ly0default$1.myProps));
|
|
42500
42501
|
|
|
42501
42502
|
const scopeThis_box = vue.reactive(props.scopeThis);
|
|
42502
42503
|
|