fix(ui): Fix term window size for white-list device

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao
2024-12-13 12:20:51 +08:00
parent 7c760bd057
commit 3c640ccf72
+2
View File
@@ -221,6 +221,8 @@ export default {
this.disposables.push({
dispose: () => window.removeEventListener('resize', this.fitTerm)
})
this.fitTerm()
},
dispose() {
this.disposables.forEach(d => d.dispose())