feat: table grid supports setting title and helpMessage (#4732)

This commit is contained in:
Vben
2024-10-24 22:51:04 +08:00
committed by GitHub
parent 39e41d05be
commit 6688a6b3c2
15 changed files with 611 additions and 439 deletions

View File

@@ -29,7 +29,7 @@ export class ModalApi {
} = options;
const defaultState: ModalState = {
bordered: false,
bordered: true,
centered: false,
class: '',
closeOnClickModal: true,

View File

@@ -258,7 +258,13 @@ function handleFocusOutside(e: Event) {
v-if="showFooter"
ref="footerRef"
:class="
cn('flex-row items-center justify-end border-t p-2', footerClass)
cn(
'flex-row items-center justify-end p-2',
{
'border-t': bordered,
},
footerClass,
)
"
>
<slot name="prepend-footer"></slot>