Fixed screen switching

This commit is contained in:
NI
2020-07-29 16:02:06 +08:00
parent 21fd0de2da
commit 1c018ce560
4 changed files with 39 additions and 12 deletions

View File

@@ -24,7 +24,7 @@
<div
v-for="(screenInfo, idx) in screens"
:key="screenInfo.id"
:style="'visibility: ' + (screen === idx ? 'visible' : 'hidden')"
:class="{ 'screen-inactive': screen !== idx }"
class="screen"
>
<h1 style="display: none;">Main Interface</h1>