Просмотр исходного кода

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

wangkeyi 19 часов назад
Родитель
Сommit
3f665e1348
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/layouts/default/header/index.vue

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

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