We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@nutui/nutui
4.2.3
h5
Playground好像要用ts不会ts啊,抱歉
1、上传文件时,因为是内网应用所以没有URL。 2、选择文件然后上传,肯定会失败,这是正常的。 3、失败时,图片能拿到base64后的结果,其它类型的文件不行,比如video或txt文档。
图片外的其它类型文件上传失败时也能拿到文件base64后的结果
图片外的文件,拿不到base64的结果
No response
The text was updated successfully, but these errors were encountered:
上面是图片上传失败时failure回调里responseText的打印,下图是其它类型文件上传时的打印,除了图片外其它类型的打印都没有base64的结果
Sorry, something went wrong.
复现不了,可能需要更详细的信息,上传失败都是空 https://stackblitz.com/edit/vitejs-vite-sd4zcq?file=src%2FApp.vue
No branches or pull requests
NutUI 包名
@nutui/nutui
NutUI 版本号
4.2.3
平台
h5
重现链接
Playground好像要用ts不会ts啊,抱歉
重现步骤
1、上传文件时,因为是内网应用所以没有URL。
2、选择文件然后上传,肯定会失败,这是正常的。
3、失败时,图片能拿到base64后的结果,其它类型的文件不行,比如video或txt文档。
期望的结果是什么?
图片外的其它类型文件上传失败时也能拿到文件base64后的结果
实际的结果是什么?
图片外的文件,拿不到base64的结果
环境信息
No response
其他补充信息
No response
The text was updated successfully, but these errors were encountered: