el-checkbox-group

2022-01-14  本文已影响0人  一只鱼_d589
// 选择框 触发单个组件   checked 表示动作  item传递的值
<el-checkbox-group v-model="radio1" class="item item-1">
                             <el-checkbox class="flex-item" v-for="(item, index) in pressureList" :key="'11' + index + item.id"
                             :label="item.sensorName" :title="item.sensorName"
                             @change="checked=>handleCheckEvent(checked,item)"></el-checkbox>
                        </el-checkbox-group>
上一篇 下一篇

猜你喜欢

热点阅读