mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-10 17:13:30 +08:00
fix: 解决终端全屏及缩放的菜单显示问题 (#1316)
This commit is contained in:
parent
cd84116a03
commit
e9bdca5279
1 changed files with 3 additions and 1 deletions
|
@ -149,9 +149,11 @@ const globalStore = GlobalStore();
|
|||
function toggleFullscreen() {
|
||||
if (screenfull.isEnabled) {
|
||||
screenfull.toggle();
|
||||
globalStore.setScreenFull();
|
||||
}
|
||||
}
|
||||
screenfull.on('change', () => {
|
||||
globalStore.isFullScreen = screenfull.isFullscreen;
|
||||
});
|
||||
|
||||
const localHostID = ref();
|
||||
|
||||
|
|
Loading…
Reference in a new issue