Whether the element-ui Checkbox checkbox can be used; separate

checkList: ["selected and disabled", "check box A"] can be used; interval

<template>
  <el-checkbox-group v-model="checkList">
    <el-checkbox label=" A"></el-checkbox>
    <el-checkbox label=" B"></el-checkbox>
    <el-checkbox label=" C"></el-checkbox>
    <el-checkbox label="" disabled></el-checkbox>
    <el-checkbox label="" disabled></el-checkbox>
  </el-checkbox-group>
</template>

<script>
  export default {
    data () {
      return {
        checkList: [""," A"]
      };
    }
  };
</script>
May.22,2022

this is the array ah
if you need a string, you can add a field in computed to return the result of the array concatenated with semicolons


re-traverse and re-splice

yourself.
Menu