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
比如在功能弹窗里,使用该控件,每次打开不同的弹窗,都会显示上次已上传的文件,需要增加一个删除已上传文件的方法来重置这个状态
希望能增加删除文件方法clearFile
The text was updated successfully, but these errors were encountered:
组件的有个@before-remove你看看能不能满足, 或者每次加载组件的时候手动清空下绑定的数据。
不行哦,@before-remove这个只是在点击删除按钮的时候会触发,用不到... 清空绑定数据也不行,我是手动上传的,用的是@onchange来获取已选择的文件,然后在用户点击【确定】按钮的时候手动去上传。
Basic Info
What are the similar cases of this feature
比如在功能弹窗里,使用该控件,每次打开不同的弹窗,都会显示上次已上传的文件,需要增加一个删除已上传文件的方法来重置这个状态
What problem does this feature solve?
希望能增加删除文件方法clearFile
The text was updated successfully, but these errors were encountered: