write an example with the example on the official website, the code is as follows
<Checkbox-group v-molde="roles" @on-change="whenSelectRolesItem" size="large">
<Checkbox label="1"></Checkbox>
<Checkbox label="2"></Checkbox>
<Checkbox label="3"></Checkbox>
</Checkbox-group>
the official website of the on-change event is described as follows: "triggered when the state of the option changes, and returns the selected array." Changes by modifying external data will not trigger "
" but when I do it myself, what I actually get is the checkbox value per click, not the value of all the selected checkbox
checkbox
v-modelroles roles: ["1"],
label1""
could you tell me how to solve this?