fmui-base 2.1.49 → 2.1.50

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/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.1.50:流程普通退回增加回调
6
7
  - 2.1.49:流程提交到最后结束节点可以直接结束,跳过确认环节
7
8
  - 2.1.48:表单子表数据丢失处理,子表与关联表子表冲突
8
9
  - 2.1.47:流程支持发起子流程
@@ -4077,6 +4077,8 @@ var PageHome = function (_React$Component) {
4077
4077
  //操作回调
4078
4078
  if (content.isStart == '1' && typeof FlowCommon.operateCallBack === "function") {
4079
4079
  FlowCommon.operateCallBack({ type: 0, dataId: dataId, isBatch: 0 }, t.state);
4080
+ } else if (typeof FlowCommon.operateCallBack === "function") {
4081
+ FlowCommon.operateCallBack({ type: 8, dataId: dataId, isBatch: 0 }, t.state);
4080
4082
  }
4081
4083
  //项目开发扩展
4082
4084
  var mobileExt;
@@ -4087,8 +4089,10 @@ var PageHome = function (_React$Component) {
4087
4089
  } catch (e) {
4088
4090
  // alert("exception: "+e.message);
4089
4091
  }
4090
- if (typeof mobileExt !== 'undefined' && typeof mobileExt["operateCallBack"] === "function") {
4092
+ if (content.isStart == '1' && typeof mobileExt !== 'undefined' && typeof mobileExt["operateCallBack"] === "function") {
4091
4093
  mobileExt["operateCallBack"]({ type: 0, dataId: dataId, isBatch: 0 }, t.state);
4094
+ } else if (typeof FlowCommon.operateCallBack === "function") {
4095
+ FlowCommon.operateCallBack({ type: 8, dataId: dataId, isBatch: 0 }, t.state);
4092
4096
  }
4093
4097
 
4094
4098
  if (isPush == '1') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.49",
3
+ "version": "2.1.50",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",