fmui-base 2.0.55 → 2.0.56

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.0.56:移动端在线编辑预览增加下载按钮
6
7
  - 2.0.55:流程页面发起按钮问题修改
7
8
  - 2.0.54:移动门户添加下拉刷新
8
9
  - 2.0.53:移动门户日程部件多个显示问题
package/lib/form/form.js CHANGED
@@ -1136,6 +1136,8 @@ var PageHome = function (_React$Component) {
1136
1136
  } else if (itemType == 'positioning') {//地图定位
1137
1137
  } else if (itemType == 'weboffice') {
1138
1138
  //在线编辑
1139
+ var formDataAttr = form.dataAttr;
1140
+ itemParam.webofficeDownload = formDataAttr && formDataAttr.webofficeDownload == '0' ? false : true;
1139
1141
  if (typeof FlowCommon.dealwithWeboffice === "function" && value != null && value != "") {
1140
1142
  FlowCommon.dealwithWeboffice(value, function (content) {
1141
1143
  itemParam.initIds = content;
@@ -3352,6 +3354,7 @@ var PageHome = function (_React$Component) {
3352
3354
  ref: "upload_" + t.state.itemParam.tableName + "_" + t.state.itemParam.key,
3353
3355
  canAdd: false,
3354
3356
  canDel: false,
3357
+ canDownload: this.state.itemParam.webofficeDownload,
3355
3358
  label: t.state.itemParam.title,
3356
3359
  initList: t.state.itemParam.value,
3357
3360
  initIds: t.state.itemParam.initIds,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.0.55",
3
+ "version": "2.0.56",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",