@titaui/pc 1.15.25-beta.6 → 1.15.25-beta.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.
@@ -90,7 +90,7 @@ var AppCenter = function AppCenter(props) {
90
90
 
91
91
  var _useState7 = (0, _react.useState)(function () {
92
92
  console.log(apps);
93
- var localCurrentAppId = localStorage.getItem("LocalCurrentAppId_".concat(userId));
93
+ var localCurrentAppId = sessionStorage.getItem("LocalCurrentAppId_".concat(userId));
94
94
 
95
95
  if (localCurrentAppId) {
96
96
  return Number(localCurrentAppId);
@@ -124,7 +124,7 @@ var AppCenter = function AppCenter(props) {
124
124
  })) === null || _apps$find === void 0 ? void 0 : _apps$find.children) || [];
125
125
  var navigations = (0, _utils.getMenus)();
126
126
  console.log(currentAppId, 'currentAppId');
127
- localStorage.setItem("LocalCurrentAppId_".concat(userId), currentAppId.toString());
127
+ sessionStorage.setItem("LocalCurrentAppId_".concat(userId), currentAppId.toString());
128
128
  var dynamic = navigations.filter(function (item) {
129
129
  return item.code === 'dynamic';
130
130
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.15.25-beta.6",
3
+ "version": "1.15.25-beta.8",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",