Commit 9ab9fcb7 authored by renjintao's avatar renjintao

stroreHouse

parent be9f1db9
...@@ -43,7 +43,15 @@ export default { ...@@ -43,7 +43,15 @@ export default {
default: 0 default: 0
} }
}, },
mounted() {}, mounted() {
window.onresize = () => {
///浏览器窗口大小变化
return (() => {
window.screenHeight = window.innerHeight;
this.divHeight = window.innerHeight - 180 + "px";
})();
};
},
created() { created() {
this.loadTree() this.loadTree()
var theight = window.innerHeight - 180 + 'px' var theight = window.innerHeight - 180 + 'px'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment