Merge branch 'main' of github.com:engigu/baihu
This commit is contained in:
@@ -567,16 +567,15 @@ watch(() => route.query, (newQuery) => {
|
|||||||
<Maximize2 class="h-3.5 w-3.5" />
|
<Maximize2 class="h-3.5 w-3.5" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="flex-1 overflow-hidden min-h-[160px] relative"
|
||||||
class="flex-1 overflow-hidden min-h-[160px]"
|
:class="resolvedTheme === 'dark' ? 'bg-zinc-950' : 'bg-zinc-100'" ref="sideLogContainer">
|
||||||
:class="resolvedTheme === 'dark' ? 'bg-zinc-950' : 'bg-zinc-100'"
|
<LogTerminal v-if="decompressedOutput" :content="decompressedOutput" :theme="resolvedTheme" />
|
||||||
ref="sideLogContainer"
|
<div v-else-if="!isWsLoading"
|
||||||
>
|
class="absolute inset-0 flex items-center justify-center text-zinc-500 font-mono text-xs italic">
|
||||||
<LogTerminal
|
无日志输出
|
||||||
:content="decompressedOutput"
|
</div>
|
||||||
:theme="resolvedTheme"
|
<div v-if="isWsLoading"
|
||||||
/>
|
class="px-4 py-2 text-sm text-zinc-500 italic border-t border-zinc-200 dark:border-zinc-800 absolute bottom-0 left-0 w-full bg-inherit/80 backdrop-blur-sm">
|
||||||
<div v-if="isWsLoading" class="px-4 py-2 text-sm text-zinc-500 italic border-t border-zinc-200 dark:border-zinc-800">
|
|
||||||
连接中...
|
连接中...
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -78,14 +78,14 @@ onUnmounted(() => {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-1 overflow-hidden" :class="resolvedTheme === 'dark' ? darkLogBackgroundClass : lightLogBackgroundClass">
|
<div class="flex-1 overflow-hidden relative"
|
||||||
<LogTerminal
|
:class="resolvedTheme === 'dark' ? darkLogBackgroundClass : lightLogBackgroundClass">
|
||||||
:content="content"
|
<LogTerminal v-if="content" :content="content" :theme="resolvedTheme" />
|
||||||
:theme="resolvedTheme"
|
<div v-else class="absolute inset-0 flex items-center justify-center text-zinc-500 font-mono text-sm italic">
|
||||||
/>
|
无日志输出
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Teleport>
|
</Teleport>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user