better-scroll 在mounted 和 created中调用
来源:17-6 better-scroll运用(1)

JuyRen
2017-07-10
老师 我发现 this._initScroll = new BScroll(this.$refs.menu,{}) 在 created中使用 $nextTickt能成功 而在mounted 中却报错了 这是什么原因
写回答
1回答
-
ustbhuangyi
2017-07-11
mounted 加了 nextTick 吗?
022017-07-11
相似问题