topic description vue s treatment of multiple groups of radio 1. Multiple groups of radio are traversed with v-for, how to traverse multiple groups of radio at once 2. How to get all the radio values at once after traversing multiple groups of radi...
In the vue project, using the radio box, v-model binds an array. When the array is empty, the radio box is still selected. <input type="radio" v-model="arr" > data() { return { arr: [] } } how to modify it, ...
there is a group of radio or checkbox option boxes, as follows: <ul> <li class="item" v-for="item in attrList"> <input :type="radio" :id="getId()" name=&q...