el-checkbox获取选中的id

获取选中checkbox的label和value         

 
            
          


      checkedAlarmObj: [
          {
            roleId: 1,
            roleName: '超级管理员'
          },{
            roleId: 2,
            roleName: '系统管理员'
          },
        ],
        checkedAlarmObjIdArr: [],
        alarmObj: [],




 changeObj() {
        this.checkedAlarmObjIdArr = [];
        for (let i = 0; i < this.checkedAlarmObj.length; i++) {
          for (let j = 0; j < thi

你可能感兴趣的:(vue项目中常用操作,后台管理系统,javascript,前端,vue.js)