共计 301 个字符,预计需要花费 1 分钟才能阅读完成。
<el-form-item label="告诉形式:">
<el-checkbox-group v-model="noticeWay" @change="noticeWayChange">
<el-checkbox v-for="v in option" :key="v.id" :label="v.id" >{{v.lable}}</el-checkbox>
</el-checkbox-group>
</el-form-item>
noticeWayChange(val){console.log(val)
let currval = val[val.length - 1];// 以后扭转的选项
if(currval == 3){....}
},
正文完