fmui-base 2.1.1 → 2.1.3

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,8 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.1.3:流程支持取消超时问题处理
7
+ - 2.1.2:流程支持取消超时
6
8
  - 2.1.1:流程支持取消超时
7
9
  - 2.1.0:表单子表组件支持扩展
8
10
  - 2.0.99:流程批量办理提示语优化
@@ -2882,11 +2882,11 @@ var PageHome = function (_React$Component) {
2882
2882
  });
2883
2883
  } else if (operate == 'CANCEL_LIMIT') {
2884
2884
  //取消超时
2885
- _db2.default.FlowModuleAPI.canRollback({
2885
+ _db2.default.FlowModuleAPI.getCanCancelLimit({
2886
2886
  taskId: t.state.taskId
2887
2887
  }).then(function (content) {
2888
2888
  var backList = content;
2889
- if (content.data && content.length > 0) {
2889
+ if (content && content.length > 0) {
2890
2890
  t.setState({
2891
2891
  pageStatus: '1',
2892
2892
  operate: 'CANCEL_LIMIT',
@@ -3884,7 +3884,7 @@ var PageHome = function (_React$Component) {
3884
3884
  db.FlowModuleAPI.cancelLimit(param).then(function (content) {
3885
3885
  _Toast2.default.show({
3886
3886
  type: 'success',
3887
- content: t.state.finalButtons.get("CANCEL_LIMIT") + '成功'
3887
+ content: '取消超时成功'
3888
3888
  });
3889
3889
  if (isPush == '1') {
3890
3890
  closePage();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",