mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [dialog] remove footer when not existed (#6590)
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<slot name="title" />
|
||||
</template>
|
||||
<slot />
|
||||
<template #footer>
|
||||
<template v-if="$slots.footer" #footer>
|
||||
<slot name="footer" />
|
||||
</template>
|
||||
</el-dialog-content>
|
||||
|
||||
Reference in New Issue
Block a user