-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
列表渲染出来的多个勾选框绑定到同一数组目测有bug #141
Comments
Sorry 这里只是讨论中文文档翻译,这个问题最好还是在 vue 主仓库的 issue 里讨论,会有更多人帮助你,并且鼓励使用英文 |
This was referenced Mar 7, 2021
This was referenced Jun 20, 2021
This was referenced May 13, 2022
This was referenced Oct 7, 2022
This was referenced Mar 22, 2024
This was referenced May 13, 2024
This was referenced May 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在线demo
`
<script src="http://cn.vuejs.org/js/vue.js"></script>`
根据多个勾选框,绑定到同一个数组这个例子写的,在ready的时候根据checkbox的组数把answers中对应的项初始化为一个空array,每一个空array对应教程中的checkedNames,但是当点击任意一个checkbox的时候,其绑定的array转换成了bool,选择其它的checkbox对应的array依然保持array类型,并能向官网demo中的一样正常绑定到同一个数组中。
目测是bug。
The text was updated successfully, but these errors were encountered: