From 523c8b36e4213e07d445d6b032cf2a3f2141353e Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 26 Apr 2021 18:20:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B6=E9=83=A8=E9=93=BE=E6=8E=A5-=E5=A4=96?= =?UTF-8?q?=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mulan/HOC/Nav.jsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/mulan/HOC/Nav.jsx b/src/mulan/HOC/Nav.jsx index 8096cb62..67ad55f9 100644 --- a/src/mulan/HOC/Nav.jsx +++ b/src/mulan/HOC/Nav.jsx @@ -35,7 +35,14 @@ function Nav({ users, headData , successFunc , quitFunc , match }){ { navs && navs.length>0 && navs.map((i,k)=>{ return( -
  • {i.name}
  • +
  • + { + i.link.indexOf("http") > -1 ? + {i.name} + : + {i.name} + } +
  • ) }) }