feat(Cascader): add className option (#8882)

This commit is contained in:
neverland
2021-06-17 21:11:08 +08:00
committed by GitHub
parent e3341e6c68
commit 5966689ce3
4 changed files with 32 additions and 13 deletions
+6 -5
View File
@@ -227,11 +227,12 @@ export default {
`options` 属性是一个由对象构成的数组,数组中的每个对象配置一个可选项,对象可以包含以下值:
| 键名 | 说明 | 类型 |
| -------- | ------------ | ------------------ |
| text | 选项文字 | _string_ |
| value | 选项对应的值 | _string \| number_ |
| children | 子选项列表 | _Option[]_ |
| 键名 | 说明 | 类型 |
| ------------------ | ------------------------ | --------------------------- |
| text | 选项文字 | _string_ |
| value | 选项对应的值 | _string \| number_ |
| children | 子选项列表 | _Option[]_ |
| className `v3.1.0` | 为对应列添加额外的 class | _string \| Array \| object_ |
### Events