uepay-mesh 4.0.21 → 4.0.22-beta-2

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.
@@ -339,9 +339,13 @@ function EditComp(_ref7) {
339
339
  const [value, setValue] = (0, _react.useState)(text);
340
340
  function submitRes(res) {
341
341
  if (res && 0 < res.code) {
342
- _antd.message.success('數據提交成功');
343
342
  setModify(MODIFY.VIEW);
344
- flush();
343
+ if (1000 === res.code) {
344
+ _antd.message.success(res.msg || '流程提交成功');
345
+ } else {
346
+ _antd.message.success('數據提交成功');
347
+ flush();
348
+ }
345
349
  } else {
346
350
  _antd.notification.error({
347
351
  message: res && res.msg || '網絡故障!'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uepay-mesh",
3
- "version": "4.0.21",
3
+ "version": "4.0.22-beta-2",
4
4
  "description": "数据中心数据集设计工具前端",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",