no message

Former-commit-id: 662fa77db90f556f7b9f4ea87c1637a0097a0cdf
Former-commit-id: bc48fd53d686d3706032b288b05d29522869ea25
Former-commit-id: 78e529b7f64e50c3fd33f0372b35c16fa42c1c15
This commit is contained in:
李杨
2018-01-20 22:53:02 +08:00
parent d7e023816d
commit a2f2e191a2
7 changed files with 54 additions and 67 deletions

View File

@@ -1,13 +0,0 @@
```
// 一般用法
<IconSelect v-model="icon"></IconSelect>
// 不可以清空
<IconSelect v-model="icon2" :clearable="false"></IconSelect>
// 不自动关闭
<IconSelect v-model="icon3" :auto-close="false"></IconSelect>
// 用户可以输入
<IconSelect v-model="icon4" :user-input="true"></IconSelect>
```

View File

@@ -0,0 +1,14 @@
# 图标选择器
## 参数
| 参数名 | 介绍 | 是否必选 | 值类型 | 可选值 | 默认值 |
| --- | --- | --- | --- | --- | --- |
| value | 绑定的值,可以使用 v-model | 非必选 | String | | |
| placeholder | 占位符,显示在未选择之前的按钮和输入框中 | 非必选 | String | | 请选择 |
| placement | 界面探出方向 | 非必选 | String | element Popover 组件 placement 参数 | right |
| clearable | 是否允许清空 | 非必选 | Boolean | | true |
| userInput | 是否允许用户自由输入 | 非必选 | Boolean | | false |
| autoClose | 是否在选择后自动关闭 | 非必选 | Boolean | | true |