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

鸿蒙读取相册图片上传需要自己拷贝到沙箱吗? #647

Closed
AndSync opened this issue May 26, 2024 · 2 comments
Closed

鸿蒙读取相册图片上传需要自己拷贝到沙箱吗? #647

AndSync opened this issue May 26, 2024 · 2 comments

Comments

@AndSync
Copy link

AndSync commented May 26, 2024

如题

@yinxulai
Copy link
Collaborator

我记得从相册选择到的文件是 datashare:// 格式的 URI,可以直接使用 UploadFile.fromUri() 来构造上传文件,不需要拷贝

@AndSync
Copy link
Author

AndSync commented May 28, 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