|
@@ -27,12 +27,12 @@
|
|
|
mounted(){
|
|
|
document.getElementById('app').style.transform = `scale(${document.body.clientWidth / 1920})`;
|
|
|
document.getElementById('app').style.height = (window.innerHeight/(document.body.clientWidth / 1920*100))*100+'px';
|
|
|
- console.log("document.getElementById('app').style.height",document.getElementById('app').style.height)
|
|
|
+ // console.log("document.getElementById('app').style.height",document.getElementById('app').style.height)
|
|
|
window.onresize = () => {
|
|
|
return (() => {
|
|
|
document.getElementById('app').style.transform = `scale(${document.body.clientWidth / 1920})`;
|
|
|
document.getElementById('app').style.height = (window.innerHeight/(document.body.clientWidth / 1920*100))*100+'px';
|
|
|
- console.log("document.getElementById('app').style.height",document.getElementById('app').style.height)
|
|
|
+ // console.log("document.getElementById('app').style.height",document.getElementById('app').style.height)
|
|
|
})();
|
|
|
};
|
|
|
},
|