From 7861edbc4a6aef8c8c6082ec73c46a8b52fe0cb3 Mon Sep 17 00:00:00 2001 From: red-deng-deng <1924913374@qq.com> Date: Mon, 8 Nov 2021 16:52:56 +0800 Subject: [PATCH] update --- src/App.js | 4 ++-- src/components/subnav/main.js | 2 +- src/pages/exchangecode/add/add.js | 11 ++++++++--- src/pages/exchangecode/add/add.less | 4 ++++ src/pages/exchangecode/list/list.js | 1 - 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/App.js b/src/App.js index 5696722e..05df6e80 100644 --- a/src/App.js +++ b/src/App.js @@ -22,10 +22,10 @@ export default class App extends Component { - ( )}> - + */} ( )}> diff --git a/src/components/subnav/main.js b/src/components/subnav/main.js index 69735d6a..49615cf6 100644 --- a/src/components/subnav/main.js +++ b/src/components/subnav/main.js @@ -93,7 +93,7 @@ export default class topNav extends React.Component{ ):null } { - breakflag==true&&breaknav!=''&&routeflag=='true'?( + breakflag==true&&breaknav!=null&&routeflag=='true'?(
{ breaknav.map((item,key)=>{ diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index f5442f7e..c77ad851 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -18,10 +18,15 @@ export default class accadd extends React.Component{ } render(){ return( -
+
-

- +

+ +

+
+ +

+

diff --git a/src/pages/exchangecode/add/add.less b/src/pages/exchangecode/add/add.less index e69de29b..f45b09c2 100644 --- a/src/pages/exchangecode/add/add.less +++ b/src/pages/exchangecode/add/add.less @@ -0,0 +1,4 @@ +#exchangeadd{ + .addcode{ + } +} \ No newline at end of file diff --git a/src/pages/exchangecode/list/list.js b/src/pages/exchangecode/list/list.js index ffa6be03..db7c1cc5 100644 --- a/src/pages/exchangecode/list/list.js +++ b/src/pages/exchangecode/list/list.js @@ -137,7 +137,6 @@ export default class acclist extends React.Component{ ]}] sessionStorage.setItem('breaknav',JSON.stringify(activerou)); - sessionStorage.setItem('showflag',false); }