mirror of
https://github.com/acepanel/panel.git
synced 2026-02-07 10:37:14 +08:00
fix: ssh连接成功后即立即调整窗口大小
This commit is contained in:
@@ -151,7 +151,7 @@ const openSession = async (id: number) => {
|
||||
})
|
||||
term.value.open(terminal.value!)
|
||||
|
||||
fitAddon.fit()
|
||||
onResize()
|
||||
term.value.focus()
|
||||
window.addEventListener('resize', onResize, false)
|
||||
current.value = id
|
||||
|
||||
Reference in New Issue
Block a user