feat(Cascader): add option slot (#9036)

* feat(Cascader): add option-text slot

* chore: adjust slot
This commit is contained in:
neverland
2021-07-15 14:44:07 +08:00
committed by GitHub
parent 69524def7b
commit 4de5f5ac5a
5 changed files with 71 additions and 40 deletions
+4 -3
View File
@@ -247,9 +247,10 @@ export default {
### Slots
| 名称 | 说明 |
| ----- | -------------- |
| title | 自定义顶部标题 |
| 名称 | 说明 | 参数 |
| --------------- | -------------- | --------------------------------------- |
| title | 自定义顶部标题 | - |
| option `v3.1.4` | 自定义选项文字 | _{ option: Option, selected: boolean }_ |
### 样式变量