forked from icindy/wxParse
-
Notifications
You must be signed in to change notification settings - Fork 68
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
wxparse CSS样式有问题,为什么对图片的宽高都设为0? #68
Comments
wxparse里面也没有这样的样式设置啊! |
js 里设置的,图片加载完成后会去掉 |
mpvue1.4.0 图片加载的函数没有执行,导致图片的width和height都是0,无法显示,请问楼主解决了吗 |
图片直接用 image 标签可以正常显示吗 |
图片的load函数没有执行,另一个页面的图片宽高我是写死的,可以显示 |
error 事件会执行不 |
error 也没有执行 |
那可能加了这个样式是有影响,我今天处理下 |
好的,谢谢 |
@ZjVirus 看下 example 目录,mpvue 更新到 1.4.0 之后图片是正常的啊 |
好的,明天再看一下 |
不知道什么原因,还是不行。已升级mpvue2.0, 正常 |
这个 0px 回头我加个配置,可以手动禁用吧 |
感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
引入css后,img标签的宽高都被设为0,导致图片无法加载出来。
原来wxparse里面是没有对图片的宽高做初始化设置的的,为什么mpvue-wxparse中要这样设置?
The text was updated successfully, but these errors were encountered: