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

[Feature Request] Uploader组件是否能支持到最高100个 #5793

Closed
i0ducn opened this issue May 15, 2024 · 7 comments
Closed

[Feature Request] Uploader组件是否能支持到最高100个 #5793

i0ducn opened this issue May 15, 2024 · 7 comments

Comments

@i0ducn
Copy link

i0ducn commented May 15, 2024

这个功能解决了什么问题?

微信小程序wx.chooseMessageFile(Object object)接口提供了最多100个选择,能否优化一下更改成此接口https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.chooseMessageFile.html

你期望的 API 是什么样子的?

```[tasklist] ### Tasks ```
@i0ducn
Copy link
Author

i0ducn commented May 16, 2024

或者可以提升到20,”基础库2.25.0前,最多可支持9个文件,2.25.0及以后最多可支持20个文件“,目前接口已经支持最多20

@TallNutAlt
Copy link

image

@TallNutAlt
Copy link

我看源码上有这个api

@TallNutAlt
Copy link

参考文档accept

@i0ducn
Copy link
Author

i0ducn commented May 28, 2024

参考文档accept
好的,好像在官方文档里没看到,不过还是推荐把默认值9改成20,会比较方便

@TallNutAlt
Copy link

参考文档accept
好的,好像在官方文档里没看到,不过还是推荐把默认值9改成20,会比较方便

https://youzan.github.io/vant-weapp/#/uploader#accept-de-he-fa-zhi

@TallNutAlt
Copy link

accept 传的不是image media video 使用的都是chooseMessageFile

@i0ducn i0ducn closed this as completed May 29, 2024
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

No branches or pull requests

2 participants