Parcourir la source

修复菜单栏无法滚动的bug

luoaoxuan il y a 1 an
Parent
commit
099ac40081
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/layout/header-aside/components/menu-side/index.js

+ 2 - 1
src/layout/header-aside/components/menu-side/index.js

@@ -55,7 +55,8 @@ export default {
 
   },
   mounted() {
-    this.scrollInit()
+    // 这个插件会影响到滚动效果 修复菜单栏无法滚动的bug 先注释掉
+    // this.scrollInit()
   },
   beforeDestroy() {
     this.scrollDestroy()