ls-pro-common 3.0.73 → 3.0.74

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.
@@ -124,10 +124,11 @@ function useDtl(dtlParam) {
124
124
  return _context.abrupt("return", false);
125
125
  case 23:
126
126
  if (!((result === null || result === void 0 ? void 0 : (_result$flag = result.flag) === null || _result$flag === void 0 ? void 0 : _result$flag.retCode) === '0')) {
127
- _context.next = 29;
127
+ _context.next = 30;
128
128
  break;
129
129
  }
130
130
  showSuccess(result.flag.retMsg || '操作成功');
131
+ Object.assign(masterObject, values);
131
132
  if (result.data) {
132
133
  Object.assign(masterObject, result.data);
133
134
  }
@@ -136,9 +137,9 @@ function useDtl(dtlParam) {
136
137
  }
137
138
  setEditItem({});
138
139
  return _context.abrupt("return", true);
139
- case 29:
140
- return _context.abrupt("return", false);
141
140
  case 30:
141
+ return _context.abrupt("return", false);
142
+ case 31:
142
143
  case "end":
143
144
  return _context.stop();
144
145
  }
@@ -124,10 +124,11 @@ function useDtl(dtlParam) {
124
124
  return _context.abrupt("return", false);
125
125
  case 23:
126
126
  if (!((result === null || result === void 0 ? void 0 : (_result$flag = result.flag) === null || _result$flag === void 0 ? void 0 : _result$flag.retCode) === '0')) {
127
- _context.next = 29;
127
+ _context.next = 30;
128
128
  break;
129
129
  }
130
130
  showSuccess(result.flag.retMsg || '操作成功');
131
+ Object.assign(masterObject, values);
131
132
  if (result.data) {
132
133
  Object.assign(masterObject, result.data);
133
134
  }
@@ -136,9 +137,9 @@ function useDtl(dtlParam) {
136
137
  }
137
138
  setEditItem({});
138
139
  return _context.abrupt("return", true);
139
- case 29:
140
- return _context.abrupt("return", false);
141
140
  case 30:
141
+ return _context.abrupt("return", false);
142
+ case 31:
142
143
  case "end":
143
144
  return _context.stop();
144
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "3.0.73",
3
+ "version": "3.0.74",
4
4
  "description": "ls-pro-common",
5
5
  "license": "MIT",
6
6
  "sideEffects": [