From 19e17ab307f93578c83c9c31fcb426908b4c30ac Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 8 Jun 2022 14:08:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3key=E7=A0=81=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=9F=A5=E8=AF=A2=E5=90=8E=E8=BF=94=E5=9B=9E=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=B1=95=E7=A4=BA=E7=A9=BA=E7=99=BD=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/key/detail/list.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/plan/key/detail/list.js b/src/pages/plan/key/detail/list.js index 5d6402bd..60d6f6ba 100644 --- a/src/pages/plan/key/detail/list.js +++ b/src/pages/plan/key/detail/list.js @@ -304,17 +304,17 @@ export default class acclist extends React.Component { sessionStorage.setItem("keyCode", rowData.key); // this.props.history.push("/home/key-log"); window.open('#/home/key-log'); - sessionStorage.setItem("pathname2", "/home/key-log"); + // sessionStorage.setItem("pathname2", "/home/key-log"); - let cur_nav = sessionStorage.getItem("breakchangenav"); + // let cur_nav = sessionStorage.getItem("breakchangenav"); - if (cur_nav.length > 0 && cur_nav[0].items) { - cur_nav[0].items.push({ - path: "/home/key-log", - name: cur_nav[0].items[cur_nav[0].items.length - 1].name + "日志", - }); - } - sessionStorage.setItem("breaknav", JSON.stringify(cur_nav)); + // if (cur_nav.length > 0 && cur_nav[0].items) { + // cur_nav[0].items.push({ + // path: "/home/key-log", + // name: cur_nav[0].items[cur_nav[0].items.length - 1].name + "日志", + // }); + // } + // sessionStorage.setItem("breaknav", JSON.stringify(cur_nav)); } } multipleCancel() {