<template>
  <div>
    <el-form-item label="是否禁用">
      <el-switch v-model="main.activeOption.disabled"></el-switch>
    </el-form-item>
    <el-form-item label="按钮样式">
      <el-switch v-model="main.activeOption.button"></el-switch>
    </el-form-item>
    <el-form-item label="最小选中数">
      <el-input-number v-model="main.activeOption.min" :min="0"></el-input-number>
    </el-form-item>
    <el-form-item label="最大选中数">
      <el-input-number v-model="main.activeOption.max" :min="0"></el-input-number>
    </el-form-item>
  </div>
</template>

<script>
export default {
  name: 'checkbox',
  inject: ["main"]
}
</script> 