fmui-base 2.1.33 → 2.1.34

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.34:表单组件子表字段只读时不做必填校验
6
7
  - 2.1.33:表单组件html编辑器移动端图片路径替换成viewImage形式
7
8
  - 2.1.32:表单组件html编辑器移动端图片路径替换
8
9
  - 2.1.31:表单组件支持对单行文本进行关联字段赋值
package/lib/form/form.js CHANGED
@@ -358,6 +358,9 @@ var PageHome = function (_React$Component) {
358
358
  }
359
359
  if (itemType != "comment") {
360
360
  required = form.valid == "true"; //必填
361
+ if (readOnly) {
362
+ required = false;
363
+ }
361
364
  }
362
365
  }
363
366
  itemParam.readOnly = readOnly;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.33",
3
+ "version": "2.1.34",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",