@yoooloo42/joker 1.0.148 → 1.0.149

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.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,
@@ -22651,6 +22652,13 @@ const refresh = async _ref => {
22651
22652
  data: result.data,
22652
22653
  total: result.total
22653
22654
  };
22655
+ if (!!message) {
22656
+ ElMessage('数据已刷新');
22657
+ }
22658
+ } else {
22659
+ if (!!message) {
22660
+ ElMessage('数据刷新错误');
22661
+ }
22654
22662
  }
22655
22663
  return {
22656
22664
  code: result.code,