Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

多选上传有问题。 #40

Open
cccccui opened this issue May 19, 2018 · 1 comment
Open

多选上传有问题。 #40

cccccui opened this issue May 19, 2018 · 1 comment

Comments

@cccccui
Copy link

cccccui commented May 19, 2018

.tokenShare(false)
.multiple(true)
.accept(['image/*'])
.tokenUrl(tokenUrl)

tokenShare 设置为false, token获取通过tokenUrl 获取,多文件上传时发现不稳定。上传3张图片,在ios微信上经常只上传一张图片。
查询记录发现,token只获取了一次,只有第一张图片上传获取了token,其他两次用的第一次的token!

@cccccui
Copy link
Author

cccccui commented May 19, 2018

看了下 tokenUrl 用的是异步,。。 用tokenFunc 自己同步获取token就可以了。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant