Skip to content
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

修复 Album 组件图片无法正常显示的问题 #926

Merged
merged 1 commit into from
Jun 24, 2020
Merged

Conversation

juzi214032
Copy link
Member

当 urls 初始化为空数组,并在后期修改为字符串数组时
组件无法显示出图片,因为默认将空数组识别为对象数组

该 commit 增加数据监听器,每次设置 urls 都将重新判断类型,保证图片正常显示

close #921

当 urls 初始化为空数组,并在后期修改为字符串数组时
组件无法显示出图片,因为默认将空数组识别为对象数组

该 commit 增加数据监听器,每次设置 urls 都将重新判断类型,保证图片正常显示

close #921
@juzi214032 juzi214032 merged commit d4b5962 into develop Jun 24, 2020
@juzi214032 juzi214032 deleted the fix/album branch June 24, 2020 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants