@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.cjs.js CHANGED
@@ -22639,7 +22639,8 @@ const ly0default$4 = {
22639
22639
  // 数据刷新
22640
22640
  const refresh = async _ref => {
22641
22641
  let {
22642
- scopeThis
22642
+ scopeThis,
22643
+ message
22643
22644
  } = _ref;
22644
22645
  const result = await ly0request$1.storpro({
22645
22646
  storproName: scopeThis.storpro.refresh,
@@ -22655,6 +22656,13 @@ const refresh = async _ref => {
22655
22656
  data: result.data,
22656
22657
  total: result.total
22657
22658
  };
22659
+ if (!!message) {
22660
+ elementPlus.ElMessage('数据已刷新');
22661
+ }
22662
+ } else {
22663
+ if (!!message) {
22664
+ elementPlus.ElMessage('数据刷新错误');
22665
+ }
22658
22666
  }
22659
22667
  return {
22660
22668
  code: result.code,