feat(Picker): add confirm、cancel slot (#7377)

This commit is contained in:
neverland
2020-10-21 18:27:24 +08:00
committed by GitHub
parent 83095c7d1e
commit dabd984070
5 changed files with 64 additions and 27 deletions
+8 -6
View File
@@ -292,12 +292,14 @@ export default {
### Slots
| 名称 | 说明 |
| -------------- | ------------------ |
| default | 自定义顶部栏内容 |
| title | 自定义标题内容 |
| columns-top | 自定义选项上方内容 |
| columns-bottom | 自定义选项下方内容 |
| 名称 | 说明 |
| ------------------ | ---------------------- |
| default | 自定义整个顶部栏内容 |
| title | 自定义标题内容 |
| confirm `v2.10.11` | 自定义确认按钮内容 |
| cancel `v2.10.11` | 自定义取消按钮内容 |
| columns-top | 自定义选项上方内容 |
| columns-bottom | 自定义选项下方内容 |
### Column 数据结构