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
onSuccess传递的函数
iview 自定义onSuccess、onRemove方法修改了传给表单的value,会导致无法预览以及移除已上传文件
不论用户自定义onSuccess、onRemove函数里修改了self对象自己的value与否,以上传文件应该都可以正常响应预览以及移除文件事件。
建议修改 parseFile 方法,将文件的 status 属性存放进去。
The text was updated successfully, but these errors were encountered:
在 onSuccess里面 fileName 直接赋值就 file.url 就会自动修改value, 当前可以先在事件中修改 value 时加点延迟,保证功能正常.
Sorry, something went wrong.
目前就是这么干的——在nextTick中操作Upload的fileList,加上了status属性……
No branches or pull requests
onSuccess传递的函数
iview 自定义onSuccess、onRemove方法修改了传给表单的value,会导致无法预览以及移除已上传文件
不论用户自定义onSuccess、onRemove函数里修改了self对象自己的value与否,以上传文件应该都可以正常响应预览以及移除文件事件。
建议修改 parseFile 方法,将文件的 status 属性存放进去。
The text was updated successfully, but these errors were encountered: