@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 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,
@@ -22650,11 +22651,19 @@ const refresh = async _ref => {
22650
22651
  page: scopeThis.query && scopeThis.query.currentPage ? scopeThis.query.currentPage : 1
22651
22652
  }
22652
22653
  });
22654
+ console.log('测试 000', result);
22653
22655
  if (result.code === 0) {
22654
22656
  scopeThis.tableData = {
22655
22657
  data: result.data,
22656
22658
  total: result.total
22657
22659
  };
22660
+ if (!!message) {
22661
+ elementPlus.ElMessage('数据已刷新');
22662
+ }
22663
+ } else {
22664
+ if (!!message) {
22665
+ elementPlus.ElMessage('数据刷新错误');
22666
+ }
22658
22667
  }
22659
22668
  return {
22660
22669
  code: result.code,