mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 18:27:13 +08:00
fix: 修复 PTY Websocket 客户端断开连接后命令仍在后台运行的问题 (#1222)
* Initial plan * fix: 修复 PTY Websocket 客户端断开连接后命令仍在后台运行的问题 Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com> * fix: 解决连接中断后命令不被杀死的问题 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com> Co-authored-by: 耗子 <haozi@loli.email>
This commit is contained in:
@@ -250,7 +250,8 @@ defineExpose({
|
||||
v-model:show="show"
|
||||
preset="card"
|
||||
:title="title || $gettext('Terminal')"
|
||||
style="width: 90vw; height: 80vh"
|
||||
style="width: 90vw; height: 80vh; max-height: 80vh"
|
||||
:content-style="{ display: 'flex', flexDirection: 'column', overflow: 'hidden', flex: 1, minHeight: 0 }"
|
||||
size="huge"
|
||||
:bordered="false"
|
||||
:segmented="false"
|
||||
@@ -263,7 +264,7 @@ defineExpose({
|
||||
<div
|
||||
ref="terminalRef"
|
||||
@wheel="onTerminalWheel"
|
||||
style="height: 100%; min-height: 60vh; background: #111"
|
||||
style="flex: 1; min-height: 0; background: #111"
|
||||
></div>
|
||||
</n-modal>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user