src/views/template2.vue @@ -225,7 +225,7 @@ // } }, created() { activated() { window.addEventListener('resize', this.getHeight) this.getHeight() }, created() { }, mounted() {