Dialog: add destroyOnClose attribute (#16455)

* Dialog: add destroyOnClose attribute

* update
This commit is contained in:
hetech
2019-07-24 17:31:35 +08:00
committed by iamkun
parent 11bfd555b9
commit d238c768a6
7 changed files with 51 additions and 6 deletions

View File

@@ -219,6 +219,7 @@ Dialog 的内容是懒渲染的,即在第一次被打开之前,传入的默
| show-close | 是否显示关闭按钮 | boolean | — | true |
| before-close | 关闭前的回调,会暂停 Dialog 的关闭 | function(done)done 用于关闭 Dialog | — | — |
| center | 是否对头部和底部采用居中布局 | boolean | — | false |
| destroy-on-close | 关闭时销毁 Dialog 中的元素 | boolean | — | false |
### Slot
| name | 说明 |