基于vue2.0实现的滚动条插件。scroll component for vue2.0
Home Page:https://tangdaohai.github.io/vue-happy-scroll/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
jiayuquan opened this issue 4 years ago · comments
使用element-ui的collapse组件,使用v-if打开关闭后会被遮盖20像素,发现打开关闭后isScrollNotUseSpace元素是undefined。 解决: scroll.vue文件 331行Vue._happyJS._isScrollNotUseSpace !== undefined改成this.isScrollNotUseSpace !== undefined即可。