-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
a-form 表单禁用时 Upload 仍然可操作 #7109
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
Comments
应该 disabled.value || disabledContext.value ? |
没有这个的问题就是把 disabled: false 移除就行了,因为 ?? 这个只有在 null 和 undefined 才会走下一个,这里直接给了 false 才导致没取到 form 的 disabled |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
4.0.7
Environment
win10, 谷歌浏览器 119.0.6045.124(正式版本) (64 位)
Reproduction link
https://antdv.com/components/form-cn#components-form-demo-disabled
Steps to reproduce
官网的例子就有这个情况
What is expected?
Upload 除了预览操作外的操作全部禁止
What is actually happening?
Upload 仍然可上传
The text was updated successfully, but these errors were encountered: