Skip to content
On this page

BaseSelect - 下拉选

配置项参考 el-select
BaseSelect/BaseTree 选项赋值,参考 util.js -> setOptions

javascript
动态组件配置示例:
{
    tag: 'BaseSelect',
    label: '部门:',
    key: 'deptId',
    value: '',
    default: '',
    attribute: {//配置项内容
        placeholder: '请选择公司',
        options: [
            {
                label: '产品部',
                value: 1
            }
        ]
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17