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, when emptying the array, uncheck the checkbox?