@chaoswise/business 0.0.7 → 0.0.8
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.
|
@@ -44,7 +44,7 @@ var DoUser = function DoUser(_ref) {
|
|
|
44
44
|
}) : /*#__PURE__*/React.createElement("div", {
|
|
45
45
|
className: 'ci-detail-user'
|
|
46
46
|
}, (list || []).map(function (item) {
|
|
47
|
-
var
|
|
47
|
+
var _ref2;
|
|
48
48
|
return /*#__PURE__*/React.createElement(_Tooltip, {
|
|
49
49
|
placement: "topLeft",
|
|
50
50
|
title: tooltipContentFuc(item),
|
|
@@ -57,9 +57,9 @@ var DoUser = function DoUser(_ref) {
|
|
|
57
57
|
}, /*#__PURE__*/React.createElement(_Avatar, {
|
|
58
58
|
className: 'ci-detail-avatar',
|
|
59
59
|
size: "small"
|
|
60
|
-
}, (
|
|
60
|
+
}, (_ref2 = item.userAlias || item.name) === null || _ref2 === void 0 ? void 0 : _ref2.substring(0, 1)), /*#__PURE__*/React.createElement("div", {
|
|
61
61
|
className: 'ci-detail-user-name'
|
|
62
|
-
}, item.userAlias)));
|
|
62
|
+
}, item.userAlias || item.name)));
|
|
63
63
|
})));
|
|
64
64
|
};
|
|
65
65
|
export default DoUser;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chaoswise/business",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "业务组件库",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"access": "public"
|
|
105
105
|
},
|
|
106
106
|
"license": "MIT",
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "612a3d2fffcd06c005d4bdd34157ad61223e1262"
|
|
108
108
|
}
|