-
-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
upload的onRemove这个钩子应该怎么使用,为什么我写东西会覆盖掉原有的事件? #3317
Comments
看不懂。。。不要假设我们对你们的业务场景有所了解。 提供的信息越详细越好。 |
是这样的 Upload的文档里面只是说了onRemove这个是一个钩子,我以为是点击预览那个叉叉,就会去调用onRemove里面的逻辑,(确实是这样的)但是我发现我写的逻辑会把原生的取消预览的功能覆盖掉了,那这个onRemove好像就没有什么作用了啊。 还有 如何去trigger 触发onRemove事件呢? |
现在的确实有问题。应该是指定了 |
@joesonw 是的, 移除文件, |
@joesonw 没有研究出来以上效果, 目前采用 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
如题 onRemove={()=>{//do something}} 会把原有的事件覆盖掉 那如何既保持原有的事件又运行一些我自己的逻辑呢?
还有一个小问题
我想关闭弹窗同时把upload的预览图也关掉,能不能做到?
The text was updated successfully, but these errors were encountered: