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

实现小程序 cropImage 接口 #12524

Closed
nuintun opened this issue Sep 20, 2022 · 3 comments · Fixed by #12529
Closed

实现小程序 cropImage 接口 #12524

nuintun opened this issue Sep 20, 2022 · 3 comments · Fixed by #12529
Labels
E-easy Helper Wanted - Easy enhancement New feature or request
Milestone

Comments

@nuintun
Copy link
Contributor

nuintun commented Sep 20, 2022

这个特性解决了什么问题?

小程序支持了 cropImage 接口

https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.cropImage.html

这个 API 长什么样?

https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.cropImage.html

@taro-bot2 taro-bot2 bot added the enhancement New feature or request label Sep 20, 2022
@Chen-jj
Copy link
Contributor

Chen-jj commented Sep 20, 2022

可以直接使用 Taro.cropImage,而此 API 的 promise 化和类型提示需要修改 Taro 代码来支持,欢迎 PR~

@Chen-jj Chen-jj added the E-easy Helper Wanted - Easy label Sep 20, 2022
@nuintun
Copy link
Contributor Author

nuintun commented Sep 20, 2022

@Chen-jj 👌,下个版本支持下 ts 定义吧!

@nuintun
Copy link
Contributor Author

nuintun commented Sep 20, 2022

@Chen-jj #12529

和上面那位老兄重复了,看你合并哪个吧~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Helper Wanted - Easy enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants