• 说明

用于调起部门选择器,显示出来是一个cell

  • 示例
<DeptSelectorCell title="选择部门" v-model="depts" :max="6" :multi="false"></DeptSelectorCell>
    import DeptSelectorCell from '@/components/common/DeptSelectorCell'
    export default {
        components: {DeptSelectorCell},
        data(){
            return {
                depts: []
            }
        }
    }
  • 属性
名称 类型 说明 默认值
title string cell的显示名称 -
multi bool 指定部门是否能多选 true
max int 当multi为true时,用来限制选择个数,0不生效 0
文档更新时间: 2020-03-27 21:42   作者:吴俊源