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
3.0.0-beta.3
vue3 vite2
https://next.antdv.com/docs/vue/changelog-cn
比如封装了一个图片上传组件,且绑定了表单值和rules。
<a-form-item label="图标" name="avatar"> <upload v-model:files="formModel.avatar" type="avatar" :max="1" :width="80" :height="80" /> </a-form-item>
当我上传完图片之后,会出现rules中的错误提示,但实际上绑定的值已经存在了。 3.0.0-alpha.16不会出现这个问题,3.0.0-beta.1及后续版本后会出现。
值存在,但是出现错误提示
不应该出现错误提示
The text was updated successfully, but these errors were encountered:
自定义组件的规范在 3.0 中有调整,具体查看文档 https://next.antdv.com/components/form-cn#_3-x
alpha 16 之所以没问题是因为一个错误的”修复“,可以查看这个 issue #4955 beta1中进行了回滚
Sorry, something went wrong.
ok 已解决 感谢
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.
No branches or pull requests
Version
3.0.0-beta.3
Environment
vue3 vite2
Reproduction link
https://next.antdv.com/docs/vue/changelog-cn
Steps to reproduce
比如封装了一个图片上传组件,且绑定了表单值和rules。
当我上传完图片之后,会出现rules中的错误提示,但实际上绑定的值已经存在了。
3.0.0-alpha.16不会出现这个问题,3.0.0-beta.1及后续版本后会出现。
What is expected?
值存在,但是出现错误提示
What is actually happening?
不应该出现错误提示
The text was updated successfully, but these errors were encountered: