[new feature] Dialog: add title slot (#3985)

This commit is contained in:
neverland
2019-07-28 10:36:25 +08:00
committed by GitHub
parent 15046888d9
commit 3299fb6d39
5 changed files with 61 additions and 6 deletions
+9
View File
@@ -193,3 +193,12 @@ export default {
|------|------|------|
| confirm | 点击确认按钮时触发 | - |
| cancel | 点击取消按钮时触发 | - |
### Slots
通过组件调用 `Dialog` 时,支持以下插槽:
| 名称 | 说明 |
|------|------|
| default | 自定义内容 |
| title | 自定义标题 |