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

@@ -221,6 +221,7 @@ If the variable bound to `visible` is managed in Vuex store, the `.sync` can not
| show-close | whether to show a close button | boolean | — | true |
| before-close | callback before Dialog closes, and it will prevent Dialog from closing | function(done)done is used to close the Dialog | — | — |
| center | whether to align the header and footer in center | boolean | — | false |
| destroy-on-close | Destroy elements in Dialog when closed | boolean | — | false |
### Slot