<template>
  <div>
    <el-form-item label="占位文本">
      <el-input v-model="main.activeOption.placeholder"></el-input>
    </el-form-item>
    <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.clearable"></el-switch>
    </el-form-item>
    <el-form-item label="是否多选">
      <el-switch v-model="main.activeOption.multiple"></el-switch>
    </el-form-item>
    <el-form-item label="父子是否关联">
      <el-switch v-model="main.activeOption.checkStrictly"></el-switch>
    </el-form-item>
    <el-form-item label="默认展开所有">
      <el-switch v-model="main.activeOption.defaultExpandAll"></el-switch>
    </el-form-item>
    <el-form-item label="延迟渲染">
      <el-switch v-model="main.activeOption.renderAfterExpand"></el-switch>
    </el-form-item>
    <el-form-item label="显示复选框">
      <el-switch v-model="main.activeOption.showCheckbox"></el-switch>
    </el-form-item>
  </div>
</template>

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