From 23dffd1a4e3f140d7f896bb1cc5cc81db48a171c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 26 八月 2022 01:15:45 +0800 Subject: [PATCH] 2022-08-26 --- src/components/header/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx index 0b74be7..760d65a 100644 --- a/src/components/header/index.jsx +++ b/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)) } }) -- Gitblit v1.8.0