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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
覆盖默认的上传行为,可以自定义上传的实现
https://element.eleme.cn/#/zh-CN/component/upload 参见http-request
http-request
<template> <Upload action="" :http-request="upload"> <Button icon="ios-cloud-upload-outline">Upload files</Button> </Upload> </template> <script> export default { data() { return {}; }, methods: { upload({ file }) { let form = new FormData() form.append('file', file) return uploadFile(form) } } }; </script>
The text was updated successfully, but these errors were encountered:
feat: 🎸 support httpRequest promise for upload
5dcfb42
✅ Closes: view-design#1100
Successfully merging a pull request may close this issue.
What problem does this feature solve?
覆盖默认的上传行为,可以自定义上传的实现
What does the proposed API look like?
https://element.eleme.cn/#/zh-CN/component/upload
参见
http-request
The text was updated successfully, but these errors were encountered: