[new feature] Dialog: add title slot (#3985)
This commit is contained in:
@@ -193,3 +193,12 @@ export default {
|
||||
|------|------|------|
|
||||
| confirm | 点击确认按钮时触发 | - |
|
||||
| cancel | 点击取消按钮时触发 | - |
|
||||
|
||||
### Slots
|
||||
|
||||
通过组件调用 `Dialog` 时,支持以下插槽:
|
||||
|
||||
| 名称 | 说明 |
|
||||
|------|------|
|
||||
| default | 自定义内容 |
|
||||
| title | 自定义标题 |
|
||||
|
||||
Reference in New Issue
Block a user