mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-19 20:25:35 +08:00
feat: modal&drawer support center-footer slot (#5956)
This commit is contained in:
@@ -274,7 +274,7 @@ const getAppendTo = computed(() => {
|
||||
{{ cancelText || $t('cancel') }}
|
||||
</slot>
|
||||
</component>
|
||||
|
||||
<slot name="center-footer"></slot>
|
||||
<component
|
||||
:is="components.PrimaryButton || VbenButton"
|
||||
v-if="showConfirmButton"
|
||||
|
||||
@@ -321,7 +321,7 @@ function handleClosed() {
|
||||
{{ cancelText || $t('cancel') }}
|
||||
</slot>
|
||||
</component>
|
||||
|
||||
<slot name="center-footer"></slot>
|
||||
<component
|
||||
:is="components.PrimaryButton || VbenButton"
|
||||
v-if="showConfirmButton"
|
||||
|
||||
Reference in New Issue
Block a user