mirror of
https://github.com/zhaojh329/rttys.git
synced 2026-02-27 09:53:21 +08:00
fix(ui): Fix term window size for white-list device
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
@@ -221,6 +221,8 @@ export default {
|
||||
this.disposables.push({
|
||||
dispose: () => window.removeEventListener('resize', this.fitTerm)
|
||||
})
|
||||
|
||||
this.fitTerm()
|
||||
},
|
||||
dispose() {
|
||||
this.disposables.forEach(d => d.dispose())
|
||||
|
||||
Reference in New Issue
Block a user