easy3wui 1.5.89-beta12 → 1.5.89-beta13
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.
|
@@ -1657,7 +1657,8 @@ var Easy3wFormPagePC = exports.Easy3wFormPagePC = function (_Component) {
|
|
|
1657
1657
|
required = item.required,
|
|
1658
1658
|
_item$cmptPros4 = item.cmptPros,
|
|
1659
1659
|
cmptPros = _item$cmptPros4 === undefined ? {} : _item$cmptPros4,
|
|
1660
|
-
value = item.value
|
|
1660
|
+
value = item.value,
|
|
1661
|
+
readFlag = item.readFlag;
|
|
1661
1662
|
var disabled = cmptPros.disabled;
|
|
1662
1663
|
|
|
1663
1664
|
var addonBeforeCmptPros = item.addonBeforeCmptPros || {};
|
|
@@ -1679,10 +1680,10 @@ var Easy3wFormPagePC = exports.Easy3wFormPagePC = function (_Component) {
|
|
|
1679
1680
|
}
|
|
1680
1681
|
var decoratorObj = {
|
|
1681
1682
|
rules: [{ required: required, message: '请选择区号' }],
|
|
1682
|
-
initialValue: strMobileAssociation
|
|
1683
|
+
initialValue: readFlag ? 'easy3wView' : strMobileAssociation
|
|
1683
1684
|
};
|
|
1684
1685
|
return _react2['default'].createElement(_input2['default'], (0, _extends3['default'])({
|
|
1685
|
-
addonBefore: _this.props.form.getFieldDecorator(fieldId + 'AddonBefore', (0, _extends3['default'])({}, decoratorObj))(itemArea),
|
|
1686
|
+
addonBefore: _this.props.form.getFieldDecorator(readFlag ? fieldId + 'AddonBeforeEasy3wView' : fieldId + 'AddonBefore', (0, _extends3['default'])({}, decoratorObj))(itemArea),
|
|
1686
1687
|
onBlur: function onBlur(e) {
|
|
1687
1688
|
return _this.onBlurMobile(e, fieldId);
|
|
1688
1689
|
}
|