@yoooloo42/joker 1.0.148 → 1.0.150
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 +10 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -22635,7 +22635,8 @@ const ly0default$4 = {
|
|
|
22635
22635
|
// 数据刷新
|
|
22636
22636
|
const refresh = async _ref => {
|
|
22637
22637
|
let {
|
|
22638
|
-
scopeThis
|
|
22638
|
+
scopeThis,
|
|
22639
|
+
message
|
|
22639
22640
|
} = _ref;
|
|
22640
22641
|
const result = await ly0request.storpro({
|
|
22641
22642
|
storproName: scopeThis.storpro.refresh,
|
|
@@ -22646,11 +22647,19 @@ const refresh = async _ref => {
|
|
|
22646
22647
|
page: scopeThis.query && scopeThis.query.currentPage ? scopeThis.query.currentPage : 1
|
|
22647
22648
|
}
|
|
22648
22649
|
});
|
|
22650
|
+
console.log('测试 000', result);
|
|
22649
22651
|
if (result.code === 0) {
|
|
22650
22652
|
scopeThis.tableData = {
|
|
22651
22653
|
data: result.data,
|
|
22652
22654
|
total: result.total
|
|
22653
22655
|
};
|
|
22656
|
+
if (!!message) {
|
|
22657
|
+
ElMessage('数据已刷新');
|
|
22658
|
+
}
|
|
22659
|
+
} else {
|
|
22660
|
+
if (!!message) {
|
|
22661
|
+
ElMessage('数据刷新错误');
|
|
22662
|
+
}
|
|
22654
22663
|
}
|
|
22655
22664
|
return {
|
|
22656
22665
|
code: result.code,
|