-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
XImg图片正确路径重复 #1901
Labels
Comments
并不存在 data-src 这个属性,这个属性是组件生成的,但是你手动设置被当成 html 传递到组件内导致混乱了。 src="goods.coverPicPath" :default-src="defaultpng" |
有点不太明白作者大大什么意思 |
貌似我有点看花,这两个地址是不是一个是默认图片,一个是产品图片? |
不是两个都是产品图片,比如说第一次加载全部产品,产品A图的地址是A,此时搜索产品B,子组件的goods改变,图片地址有两个,并且实际显示的是第一个图片。 |
|
同个 x-img 修改 src 没有重新初始化,下个小版本修复。 |
目前已经找到方法更改,不过估计有点不太标准,在子组件里面直接对 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: