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

fix(h5): previewImage 加载图片改为异步 #9258

Merged
merged 1 commit into from
May 6, 2021
Merged

Conversation

ZakaryCode
Copy link
Contributor

这个 PR 做了什么? (简要描述所做更改)

previewImage API,会先等所有大图都加载完毕才会展示出预览的界面,如果有图片特别大或者网速慢的情况下,实际体验极差

这个 PR 是什么类型? (至少选择一个)

  • 错误修复(Bugfix) issue id
  • TypeScript 类型定义修改(Typings)
  • 文档修改(Docs)
  • 代码风格更新(Code style update)

这个 PR 涉及以下平台:

  • Web 平台(H5)

@ZakaryCode ZakaryCode requested a review from Chen-jj May 6, 2021 03:17
@ZakaryCode ZakaryCode merged commit 506a4d2 into next May 6, 2021
@ZakaryCode ZakaryCode deleted the taro_h5_api branch May 6, 2021 05:42
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.

2 participants