@yoooloo42/joker 1.0.270 → 1.0.271

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
@@ -22826,7 +22826,7 @@ var unclassified = {
22826
22826
  const refresh = async _ref => {
22827
22827
  let {
22828
22828
  scopeThis,
22829
- message
22829
+ noMessage
22830
22830
  } = _ref;
22831
22831
  scopeThis.tableProps.table.loading.visible = true;
22832
22832
  const result = await ly0request.storpro({
@@ -22848,11 +22848,11 @@ const refresh = async _ref => {
22848
22848
  pageSize: scopeThis.query.pageSize,
22849
22849
  currentPage: scopeThis.query.currentPage
22850
22850
  });
22851
- if (!!message) {
22851
+ if (!noMessage) {
22852
22852
  ElMessage('数据已刷新');
22853
22853
  }
22854
22854
  } else {
22855
- if (!!message) {
22855
+ if (!noMessage) {
22856
22856
  ElMessage('数据刷新错误');
22857
22857
  }
22858
22858
  }
@@ -22869,7 +22869,8 @@ const reload = async _ref2 => {
22869
22869
  } = _ref2;
22870
22870
  unclassified.deepClone.replaceObject(scopeThis.query, scopeThis.queryInit);
22871
22871
  const result = await refresh({
22872
- scopeThis
22872
+ scopeThis,
22873
+ noMessage: true
22873
22874
  });
22874
22875
  ElMessage(result.code === 0 ? '数据已重载' : '数据重载错误');
22875
22876
  };