fmui-base 2.1.42 → 2.1.44

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
@@ -2,7 +2,9 @@
2
2
 
3
3
  ---npm publish
4
4
 
5
- ## 更新日志
5
+ ## 更新日志
6
+ - 2.1.44:流程转交批示意见必填校验
7
+ - 2.1.43:选人支持自定义扩展
6
8
  - 2.1.42:签名图片样式修改
7
9
  - 2.1.41:修改审批下拉遮罩样式
8
10
  - 2.1.40:修改审批下拉遮罩样式
@@ -1906,7 +1906,7 @@ var PageHome = function (_React$Component) {
1906
1906
  commentAttachId: commentAttachId
1907
1907
  });
1908
1908
  }
1909
- if (operate == 1 || operate == 10) {
1909
+ if (operate == 1 || operate == 10 || operate == 3) {
1910
1910
  if (newComment && newComment != '') {
1911
1911
  if (newComment.length > 2000) {
1912
1912
  _Toast2.default.show({
@@ -326,12 +326,13 @@ var Page = function (_React$Component) {
326
326
  }, {
327
327
  key: 'checkHasEtraTab',
328
328
  value: function checkHasEtraTab(codes) {
329
+ var flag = false;
329
330
  codes && codes.split(",").forEach(function (item) {
330
331
  if (item == "" || item == "org" || item == "user" || item == "group" || item == "role" || item == "station" || item == "duty" || item == "personGroup" || item == "politicalOutlook") {} else {
331
- return true;
332
+ flag = true;
332
333
  }
333
334
  });
334
- return false;
335
+ return flag;
335
336
  }
336
337
 
337
338
  //处理popcode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.42",
3
+ "version": "2.1.44",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",