From 60dee3dc4dc6869231d6adb0c94c47e36114ca91 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 四月 2022 09:11:34 +0800 Subject: [PATCH] 2022-04-21 --- src/views/pcdesign/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/pcdesign/index.jsx b/src/views/pcdesign/index.jsx index 0e2fecd..b71d127 100644 --- a/src/views/pcdesign/index.jsx +++ b/src/views/pcdesign/index.jsx @@ -246,7 +246,7 @@ return } - let homeId = MenuID || '' + let homeId = '' let appViewList = [] if (res.data && res.data.length > 0) { appViewList = res.data @@ -258,7 +258,7 @@ } if (!homeId) { - homeId = Utils.getuuid() + homeId = MenuID || Utils.getuuid() let param = { func: 's_kei_link_keyids_addupt', @@ -297,7 +297,7 @@ }) } else { sessionStorage.setItem('appViewList', JSON.stringify(appViewList)) - this.props.history.replace('/pcdesign/' + window.btoa(window.encodeURIComponent(JSON.stringify({MenuID: homeId, type: 'view'})))) + this.props.history.replace('/pcdesign/' + window.btoa(window.encodeURIComponent(JSON.stringify({MenuID: MenuID || homeId, type: 'view'})))) } }) } -- Gitblit v1.8.0