合并冲突

This commit is contained in:
Gao xiaosong
2021-06-02 01:21:34 +08:00
parent a3440305b8
commit c2d0529ab5
3 changed files with 1 additions and 46 deletions

View File

@ -69,7 +69,6 @@ export default {
}
},
mounted: function() {
// document.addEventListener("scroll", this.onScroll, false);
this.loadCategoryData();
},
methods: {
@ -89,7 +88,6 @@ export default {
this.category.forEach((cate, i) => {
if (cate.id === n) index = i;
});
if (index !== this.navActive) {
this.asideTap(index);
}
@ -117,11 +115,8 @@ export default {
asideTap(index) {
this.navActive = index;
}
},
beforeDestroy: function() {
// document.removeEventListener("scroll", this.onScroll, false);
}
};
}
</script>
<style >