Use element-ui in the check box to get the desired data

arrList: []
getNewList:[]
<el-checkbox-group v-model="getNewList">
		<el-checkbox v-for="item in arrList :key="item.id" :label="item.id">{{item.value}}</el-checkbox>
</el-checkbox-group>

Here Insert Picture Description
Here Insert Picture Description
Was to get data array format, can item.id , value, and so on to get the thought, according to the needs and then converted to other formats can be

Guess you like

Origin blog.csdn.net/weixin_43565820/article/details/90294849