pages/quanyi/add.vue
@@ -172,13 +172,13 @@ }, mounted(){ this.windowHeight = uni.getSystemInfoSync().windowHeight; this.interval = setInterval(() => { let newHeight = window.innerHeight; if (this.windowHeight !== newHeight) { this.windowHeight = newHeight; this.handleResize(); } }, 200); // this.interval = setInterval(() => { // let newHeight = window.innerHeight; // if (this.windowHeight !== newHeight) { // this.windowHeight = newHeight; // this.handleResize(); // } // }, 200); }, methods: { kk(){