gistfile1.txt mounted() { window.addEventListener('resize', this.handler) }, methods: { handler(){ this.xx = document.body.clientHeight console.log(this.xx) if (/Android/gi.test(navigator.userAgent)) { this.showFooter = !this.showFooter } }
mounted() { window.addEventListener('resize', this.handler) }, methods: { handler(){ this.xx = document.body.clientHeight console.log(this.xx) if (/Android/gi.test(navigator.userAgent)) { this.showFooter = !this.showFooter } },