@chaoswise/ui 3.1.17 → 3.1.18

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.
@@ -217,7 +217,7 @@ var MessageContent = function MessageContent(props) {
217
217
  className: "".concat(messagePrefixCls, "-content-tabs"),
218
218
  animated: false
219
219
  }, tabOption.map(function (item) {
220
- var tabName = item[localOptionsMap[locale]];
220
+ var tabName = item[localOptionsMap[locale]] || item.name;
221
221
  var moreTitle = intl.get('a30db643-5238-42bc-bc5e-98a9d0c7df51').d('更多');
222
222
  return /*#__PURE__*/React.createElement(TabPane, {
223
223
  tab: unreadTypeArr.includes(item.code) ? /*#__PURE__*/React.createElement(_Badge, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chaoswise/ui",
3
3
  "packageName": "chaoswiseUI",
4
- "version": "3.1.17",
4
+ "version": "3.1.18",
5
5
  "description": "公共UI库",
6
6
  "keywords": [
7
7
  "ui",