@titaui/pc 1.12.21 → 1.12.22

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.
@@ -133,8 +133,8 @@ var Menu = function Menu(_ref) {
133
133
  var renderRawItem = function renderRawItem(menu) {
134
134
  var href = menu.href;
135
135
 
136
- if (menu.title === "Learning") {
137
- href = "".concat(apiPath, "/").concat(userId, "/eLearningHome#/");
136
+ if (menu.title === "Learning" || menu.code === "learning") {
137
+ href = "".concat(apiPath, "/").concat(href);
138
138
  }
139
139
 
140
140
  return /*#__PURE__*/_react["default"].createElement(_rcOverflow["default"].Item, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.21",
3
+ "version": "1.12.22",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",