EasyScroll
EasyScroll copied to clipboard
pr内容: 去掉代码中的debugger
环境:vue+elementui,在ie10打开所有界面都一片空白,报SCRIPT1002: 语法错误 去掉引用,一切正常。。已经加了babel-polyfill
代码中debugger都没有关
https://github.com/GarveyZuo/EasyScroll/blob/f299adf64053dda05e1bf3368ad27f3465c5bbef/scrollbar/src/main.vue#L166
Do U test it ?
已经安装jsx插件, 在run 运行时是正常的,可一旦打包就报错了,错误信息: ERROR in static/js/vendor.01d86568a7d326df7567.js from UglifyJs Unexpected token: name (scrollBarWidth) [./node_modules/easyscroll/src/utils/scrollbar-width.js:6,0][static/js/vendor.01d86568a7d326df7567.js:46573,5] Build failed with errors.
最简单的应用 myBarOption: { barColor: '#959595', barWidth: 6, railColor: '#eee', barMarginRight: 0, barMaginBottom: 0, barOpacityMin: 0.3, zIndex: 'auto', autohidemode: true, horizrailenabled: true }, 报错信息 Cannot read property 'options' of undefined Component._Ctor.options.data...
请问如何监听组件滚动到底部从而触发数据懒加载
main.vue 67行报错