src/pages/desktop/index/store/modules/desktop.js
@@ -105,7 +105,7 @@ let ratio = curDframe.width/curDframe.height; if(curDframe.name == 'cameraAccess' || curDframe.name == 'dataStack' || curDframe.name == 'library' || curDframe.name == 'analysisPower' || curDframe.name == 'cameraVideo'){ //处理富余高度大于140的窗口 if(window.screen.availHeight - curDframe.height > 120){ if(window.screen.availHeight - curDframe.height > 140){ dframe.height = (window.screen.availHeight - curDframe.height)/2 + curDframe.height - 50; dframe.width = dframe.height*ratio; }