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

View File

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