Przeglądaj źródła

[Mod 0000]修复系统首页设置为监测页面时header不显示的问题

wangkeyi 19 godzin temu
rodzic
commit
3f665e1348
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/layouts/default/header/index.vue

+ 1 - 1
src/layouts/default/header/index.vue

@@ -3,7 +3,7 @@
     v-if="
     v-if="
       ((!getShowFullHeader && !currentRoute.path.endsWith('home')) || currentRoute.path.startsWith('/micro-vent-3dModal/modelchannel/')) &&
       ((!getShowFullHeader && !currentRoute.path.endsWith('home')) || currentRoute.path.startsWith('/micro-vent-3dModal/modelchannel/')) &&
       !noHeadeLink.includes(currentRoute.path) &&
       !noHeadeLink.includes(currentRoute.path) &&
-      currentRoute.path !== homePath
+      (currentRoute.path !== homePath || currentRoute.path.startsWith('/monitorChannel/monitor-'))
     "
     "
     :class="[
     :class="[
       ...getHeaderClass,
       ...getHeaderClass,