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

uniapp中上传进度100%后报错 #77

Open
BruceAn1978 opened this issue Nov 7, 2020 · 1 comment
Open

uniapp中上传进度100%后报错 #77

BruceAn1978 opened this issue Nov 7, 2020 · 1 comment

Comments

@BruceAn1978
Copy link

在uniapp中选择一个图片,然后开始上传后,progress回调正常,当进度100%后,控制台报错:parse JSON failed, origin String is: https://up-z2.qbox.me at common/qiniu-uploader.js:114

打印请求回应数据为:
{"data":"https://up-z2.qbox.me","statusCode":401,"errMsg":"uploadFile:ok"}

@BruceAn1978
Copy link
Author

不是SDK的问题,是上传token后端服务器返回的不正确的问题。

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

1 participant