src/components/header/index.jsx
@@ -313,8 +313,9 @@ } catch (e) {} } // 打开新页面链接 trdItem.src = '#/mainparams/' + trd.MenuID if (trdItem.type !== 'NewPage') { trdItem.src = '#/tab/' + trd.MenuID } thdMenuList.push(trdItem) @@ -509,7 +510,7 @@ // sessionStorage 跨页面共享 window.addEventListener('storage', (e) => { if (e.key === 'getSessionStorage' && e.newValue) { if (e.key === 'getSessionStorage' && e.newValue === window.GLOB.appkey) { localStorage.setItem('sessionStorage', JSON.stringify(sessionStorage)) } })