Module: Select

下拉选择组件
Properties:
Name Type Description
props Object 组件属性,内容如下
Properties
Name Type Description
value String 控件值
placeholder String 占位提示
readOnly Boolean 是否只读
disabled Boolean 是否可用
options Array 可选下拉选项集合,格式[{ value: '值', text: '文本' }]
onChange function 值改变事件

Examples

组件引入

// 全局模块引入
import { Select } from '@ccreator/smart-ui';
// 最小化模块引入
import Select from '@ccreator/smart-ui/dist/Select';

使用示例

<Select />