Commit 3103a33f authored by danfuman's avatar danfuman

修改

parent 6be5e96a
......@@ -136,10 +136,10 @@ export default {
},
mounted() {
window.addEventListener("scroll",this.scrolling)
// window.addEventListener("scroll",this.scrolling)
},
beforeDestroy() {
window.removeEventListener("scroll", this.scrolling);
// window.removeEventListener("scroll", this.scrolling);
},
methods: {
scrolling() {
......
......@@ -355,10 +355,10 @@ export default {
})
},
destroyed () {
window.removeEventListener('scroll', this.handleScroll)
// window.removeEventListener('scroll', this.handleScroll)
},
beforeDestroy() {
window.removeEventListener("scroll", this.scrolling);
// window.removeEventListener("scroll", this.scrolling);
},
created() {
this.dataRegion()
......
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