-
-
Notifications
You must be signed in to change notification settings - Fork 484
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
图片选择器在编辑场景下的问题 #921
Labels
Comments
是在点开图片进行预览时报错,还是传入属性的时候就会报错呢 |
可以提供一下你接口返回的数据格式吗 |
感谢反馈,这是组件的一个bug,我们将在下个版本进行修复 |
juzi214032
added a commit
that referenced
this issue
Jun 23, 2020
当 urls 初始化为空数组,并在后期修改为字符串数组时 组件无法显示出图片,因为默认将空数组识别为对象数组 该 commit 增加数据监听器,每次设置 urls 都将重新判断类型,保证图片正常显示 close #921
Merged
juzi214032
added a commit
that referenced
this issue
Jun 23, 2020
当 urls 初始化为空数组,并在后期修改为字符串数组时 组件无法显示出图片,因为默认将空数组识别为对象数组 该 commit 增加数据监听器,每次设置 urls 都将重新判断类型,保证图片正常显示 close #921
您好,建议暂时先使用对象数组的方式,后期我们将对这个问题进行优化 |
juzi214032
added a commit
that referenced
this issue
Jul 30, 2020
cells 属性取代 urls 传入对象类型参数 此后 urls 仅负责接收字符串数组,cells 负责接收对象数组 close #921 BREAKING CHANGE: urls 不再接收对象数组
您好,该问题目前已解决。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LinUI版本(必填):0.8.3
设备(必填):mac
基础库版本(必填):2.11.0
UI问题,请附上截图
重现步骤,必要时请提供代码片段链接
截图如下:
![在这里插入图片描述](https://camo.githubusercontent.com/b54d5610aff51408849d729dacaa727cfd9a82ba83cda8b91ed3bfa42315c3a6/68747470733a2f2f696d672d626c6f672e6373646e696d672e636e2f32303230303632313130323830343535372e706e67)
The text was updated successfully, but these errors were encountered: