mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-23 00:00:52 +00:00
fix: 解决终端全屏及缩放的菜单显示问题 (#1316)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user