mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
fix: dialog call mounted
multiple times #152
This commit is contained in:
parent
85a9aca492
commit
4df8e3743f
@ -203,7 +203,7 @@ export default {
|
||||
let footer
|
||||
if (tempFooter) {
|
||||
footer = (
|
||||
<div class={`${prefixCls}-footer`} ref='footer'>
|
||||
<div key='footer' class={`${prefixCls}-footer`} ref='footer'>
|
||||
{tempFooter}
|
||||
</div>
|
||||
)
|
||||
@ -212,7 +212,7 @@ export default {
|
||||
let header
|
||||
if (title) {
|
||||
header = (
|
||||
<div class={`${prefixCls}-header`} ref='header'>
|
||||
<div key='header' class={`${prefixCls}-header`} ref='header'>
|
||||
<div class={`${prefixCls}-title`} id={this.titleId}>
|
||||
{title}
|
||||
</div>
|
||||
@ -252,6 +252,7 @@ export default {
|
||||
{closer}
|
||||
{header}
|
||||
<div
|
||||
key='body'
|
||||
class={`${prefixCls}-body`}
|
||||
style={bodyStyle}
|
||||
ref='body'
|
||||
|
Loading…
Reference in New Issue
Block a user