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
在某些场景,我可能需要在自定义上传里面执行一些异步操作,比如转换图片类型、请求后端校验等,这个时候需要upload-method是异步等待的,现在还不支持,在当前直接传入async的方法没有任何反馈或提示,会直接不执行,使用组件默认的上传方法
upload-method
<wd-upload v-model:file-list="fileList" :upload-method="customUpload" /> async function customUpload(){ .... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这个功能解决了什么问题?
在某些场景,我可能需要在自定义上传里面执行一些异步操作,比如转换图片类型、请求后端校验等,这个时候需要
upload-method
是异步等待的,现在还不支持,在当前直接传入async的方法没有任何反馈或提示,会直接不执行,使用组件默认的上传方法你期望的 API 是什么样子的?
The text was updated successfully, but these errors were encountered: