vue使用mui的slider滑动模块
2019-07-18 本文已影响0人
forever_bin
1.Vue项目中引用MUI顶部滑动的样式后,顶部滑动条会全屏显示

2.没有滚动效果

3.初始化之后报错了
控制台信息为


另一种解决方法:该方法试过,出现另一种报错:export 'default' (imported as 'mui') was not found in '../../lib/mui/js/mui.js'。网上有人成功,但是我的没有成功,所以放弃了该方法,我用的是上面的方法

4.现在可以滑动了,但是滑动的时候会报错
控制台错误信息为:


5.顶部滑动正常了,但是点击地步 Tab 不能切换,并报错:
控制台报错信息:

6.刚进入页面无法滑动,需要刷新才行
解决方法:放到mounted中即可
