Fixed invisible heartbeat bar after page switch

pull/217/head
Ponkhy 3 years ago
parent 8d57df7256
commit 77369bd002

@ -19,7 +19,7 @@
{{ item.name }} {{ item.name }}
</div> </div>
</div> </div>
<div class="col-6 col-md-4" v-bind:class="{ 'hideHeartbeatBar': $root.userHeartbeatBar == 'bottom' || $root.userHeartbeatBar == 'none' }"> <div class="col-6 col-md-4" v-show="$root.userHeartbeatBar == 'normal'" :key="$root.userHeartbeatBar">
<HeartbeatBar size="small" :monitor-id="item.id" /> <HeartbeatBar size="small" :monitor-id="item.id" />
</div> </div>
</div> </div>
@ -153,10 +153,6 @@ export default {
} }
} }
.hideHeartbeatBar {
display: none;
}
.monitorItem { .monitorItem {
width: 100%; width: 100%;
} }

Loading…
Cancel
Save