Default value of the check box of vue

clipboard.png

str:[]
clipboard.png
:

:clipboard.png
:clipboard.png

inputv-model:["" ,"" ]STR
clipboard.png

what can I do to achieve this effect without changing the page

Apr.11,2022

clipboard.png
feels that such data is best done.
of course, if you don't give it to the backend, you need to transfer it to


refer to the official website: ide/forms.html-sharp%E5%A4%8D%E9%80%89%E6%A1%86" rel=" nofollow noreferrer "> https: / / cn.vuejs.org/v2/guide...


my checkbox has also had this problem
directly assigning values to str
I loop push the initial values into the str array

Menu