fmui-base 2.1.28 → 2.1.30
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 +2 -0
- package/lib/comment_list/List.js +4 -2
- package/lib/form/form.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/comment_list/List.js
CHANGED
|
@@ -255,7 +255,7 @@ var PageHome = function (_React$Component) {
|
|
|
255
255
|
var userNameHtml = _react2.default.createElement(
|
|
256
256
|
'span',
|
|
257
257
|
{ className: 't-PR5' },
|
|
258
|
-
item.userName
|
|
258
|
+
item.replacename && item.replacename != "" ? item.replacename : item.userName
|
|
259
259
|
);
|
|
260
260
|
var dateHtml = _react2.default.createElement(
|
|
261
261
|
'span',
|
|
@@ -296,10 +296,12 @@ var PageHome = function (_React$Component) {
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
});
|
|
299
|
+
var replaceHtml = item.replacename && item.replacename != "" ? "(代" + item.userName + "办理)" : "";
|
|
299
300
|
return _react2.default.createElement(
|
|
300
301
|
Box,
|
|
301
302
|
{ style: { marginLeft: "auto", "text-align": "right", width: '100%' } },
|
|
302
|
-
_returnHtml
|
|
303
|
+
_returnHtml,
|
|
304
|
+
replaceHtml
|
|
303
305
|
);
|
|
304
306
|
} else {
|
|
305
307
|
return "";
|
package/lib/form/form.js
CHANGED
|
@@ -641,6 +641,9 @@ var PageHome = function (_React$Component) {
|
|
|
641
641
|
alert("265====="+itemParam.dataAttr.textLineFeed);
|
|
642
642
|
}*/
|
|
643
643
|
//宏值签名图片
|
|
644
|
+
if (itemParam.dataAttr && itemParam.dataAttr.dataSrc == '2' && !readOnly) {
|
|
645
|
+
value = form.defaultValue;
|
|
646
|
+
}
|
|
644
647
|
if (itemParam.dataAttr && itemParam.dataAttr.dataSrc == '2' && itemParam.dataAttr.fromMacro.value == 'currentUserSignPic') {
|
|
645
648
|
|
|
646
649
|
if (value) {
|