mounted() {window.addEventListener('scroll', this.handleScroll)},methods:{handleScroll() {this.screenHeight = document.documentElement.scrollTop || document.body.scrollTop;console.log(this.screenHeight)},}
1200字范文,内容丰富有趣,写作的好帮手!
时间:2021-04-13 16:05:31
mounted() {window.addEventListener('scroll', this.handleScroll)},methods:{handleScroll() {this.screenHeight = document.documentElement.scrollTop || document.body.scrollTop;console.log(this.screenHeight)},}
2024年关于圣诞节的作文:世界各国的圣诞节大餐1200字作文
2024-06-06