feat(ui): allow live switch between chat and monitor views

This commit is contained in:
JOJO 2025-12-15 22:44:46 +08:00
parent c96e99cd13
commit fce6fb0eb8
2 changed files with 4 additions and 4 deletions

View File

@ -109,7 +109,7 @@
/> />
<ChatArea <ChatArea
v-if="chatDisplayMode === 'chat'" v-show="chatDisplayMode === 'chat'"
ref="messagesArea" ref="messagesArea"
:messages="messages" :messages="messages"
:icon-style="iconStyle" :icon-style="iconStyle"
@ -125,7 +125,7 @@
:format-search-topic="formatSearchTopic" :format-search-topic="formatSearchTopic"
:format-search-time="formatSearchTime" :format-search-time="formatSearchTime"
/> />
<VirtualMonitorSurface v-else /> <VirtualMonitorSurface v-show="chatDisplayMode === 'monitor'" />
<div <div
v-if="chatDisplayMode === 'chat'" v-if="chatDisplayMode === 'chat'"

View File

@ -294,10 +294,10 @@ const appOptions = {
}) })
, ,
displayModeSwitchDisabled() { displayModeSwitchDisabled() {
return this.composerBusy; return false;
}, },
displayLockEngaged() { displayLockEngaged() {
return this.composerBusy; return false;
}, },
streamingUi() { streamingUi() {
return this.streamingMessage || this.hasPendingToolActions(); return this.streamingMessage || this.hasPendingToolActions();