Forráskód Böngészése

Merge branch 'feature/v4.8.83_wky' of qmx/jy into feature/v4.8.83

wangkaiyue 1 éve
szülő
commit
2cb8e391e3
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/web/templates/common/pc-header-nav-second.html

+ 1 - 1
src/web/templates/common/pc-header-nav-second.html

@@ -1,6 +1,6 @@
 {{$userId :=(session "userId")}}
 {{$noLogin :=(or (Eq $userId "") (Eq $userId nil))}}
-{{if not $noLogin}}
+{{if and (not $noLogin) (not (Eq .Request.URL "/"))}}
 <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/public-pc/css/pc-header-nav-second.css?v={{Msg "seo" "version"}}' />
 <section id="pc-header-nav-second" class="pc-header-nav-second">
  <div class="pc-header-nav-second-head">