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 +1 -0
- package/lib/form/form.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
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,
|