This commit is contained in:
Baobhan Sith
2025-04-23 18:47:48 +08:00
parent f8bf4a71e2
commit 1916f4b4d7
3 changed files with 5 additions and 6 deletions
@@ -225,7 +225,7 @@ const componentProps = computed(() => {
case 'quickCommands':
// 这两个视图需要转发 execute-command 事件
return {
class: 'pane-content',
class: 'flex flex-col flex-grow h-full overflow-auto', // 移除 pane-content,保留填充类
onExecuteCommand: (command: string) => emit('sendCommand', command), // 复用 sendCommand 事件
};
case 'dockerManager':
@@ -568,7 +568,6 @@ onMounted(() => {
v-else
:is="currentMainComponent"
v-bind="componentProps"
class="flex-grow overflow-auto"
/>
</template>
<!-- Invalid Pane Component -->