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

Is there any recommendations for file download after upload ? #430

Open
Klodovsky opened this issue Jul 14, 2022 · 0 comments
Open

Is there any recommendations for file download after upload ? #430

Klodovsky opened this issue Jul 14, 2022 · 0 comments

Comments

@Klodovsky
Copy link

Hello, thanks for this beautiful work @lian-yue !

Currently I have a tempFile variable in which I'm storing the selected files as their original structure (objects), and I'm getting the stored files as an array of names from my database and that's what's being rendering in the UI.. I want to add a download function @click , I think there isn't any Options / Props for this feature, would you recommend a way to get or generate the files url?
Proabably something like this ?
const url = window.URL.createObjectURL(new Blob([response.data]))

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