easy3wui 1.5.51-beta4 → 1.5.51-beta6
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.
|
@@ -344,7 +344,7 @@ var Easy3wFormPage = function (_Component) {
|
|
|
344
344
|
}
|
|
345
345
|
itemNew = (0, _extends3['default'])({}, item, { cmptPros: newCmptPros });
|
|
346
346
|
}
|
|
347
|
-
if ((readFlag || allReadFlag) && (fieldType === 'checkBox' || fieldType === 'radio')) {
|
|
347
|
+
if ((readFlag || allReadFlag) && (fieldType === 'checkBox' || fieldType === 'radio' || fieldType === 'textarea' || fieldType === 'braftEditor')) {
|
|
348
348
|
if (cmptPros) {
|
|
349
349
|
newCmptPros = (0, _extends3['default'])({}, cmptPros, { disabled: true });
|
|
350
350
|
} else {
|
|
@@ -129,9 +129,7 @@ var Easy3wGridPage = function (_Component) {
|
|
|
129
129
|
chooseFlag = _props.chooseFlag,
|
|
130
130
|
scroll = _props.scroll,
|
|
131
131
|
className = _props.className,
|
|
132
|
-
paginationInfo = _props.paginationInfo
|
|
133
|
-
globalData = _props.globalData;
|
|
134
|
-
var dataDesensitizationEyeFlag = globalData.dataDesensitizationEyeFlag;
|
|
132
|
+
paginationInfo = _props.paginationInfo;
|
|
135
133
|
var _state = this.state,
|
|
136
134
|
selectedRowKeysState = _state.selectedRowKeysState,
|
|
137
135
|
selectedRowsState = _state.selectedRowsState,
|
|
@@ -165,6 +163,9 @@ var Easy3wGridPage = function (_Component) {
|
|
|
165
163
|
arr.forEach(function (item) {
|
|
166
164
|
if (!item.render) {
|
|
167
165
|
item.render = function (text) {
|
|
166
|
+
var globalData = _this2.props.globalData;
|
|
167
|
+
var dataDesensitizationEyeFlag = globalData.dataDesensitizationEyeFlag;
|
|
168
|
+
|
|
168
169
|
var strTextNew = _comonConfig.dataDesensitizationFlag ? dataDesensitizationEyeFlag ? text : (0, _easy3wui.Easy3wGetDesensitization)(text) : text;
|
|
169
170
|
if (strTextNew && strTextNew.length * 14 > 160) {
|
|
170
171
|
return _react2['default'].createElement(
|