-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
加上指令后滚动条不出现,可以滚动,还有大概率根本不出现,采用vue2.2.6 #11
Comments
看下iscroll相关的配置呢 https://github.com/cubiq/iscroll |
如果是在v-for循环数据,最外层的div上加指令,那么子元素还没渲染完会获取不到高度,这个怎么解决
|
@iq9891 使用前是需要知道外层div的高度的,组件挂载之后才会生成iscorll实例 |
iscroll.refresh方法神似不管用。 |
@iq9891 不在外面调用iscroll.refresh呢,指令内部自动调用了iscroll。实在不行的话,就用setTimeout,时间设为0。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: