wyc001122
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
packages/effects/plugins/src/vxe-table/use-vxe-grid.vue
|
|
|
@ -59,6 +59,7 @@ const FORM_SLOT_PREFIX = 'form-'; |
|
|
|
|
|
|
|
const TOOLBAR_ACTIONS = 'toolbar-actions'; |
|
|
|
const TOOLBAR_TOOLS = 'toolbar-tools'; |
|
|
|
const TABLE_TITLE = 'table-title'; |
|
|
|
|
|
|
|
const gridRef = useTemplateRef<VxeGridInstance>('gridRef'); |
|
|
|
|
|
|
|
@ -129,7 +130,7 @@ const [Form, formApi] = useTableForm({ |
|
|
|
}); |
|
|
|
|
|
|
|
const showTableTitle = computed(() => { |
|
|
|
return !!slots.tableTitle?.() || tableTitle.value; |
|
|
|
return !!slots[TABLE_TITLE]?.() || tableTitle.value; |
|
|
|
}); |
|
|
|
|
|
|
|
const showToolbar = computed(() => { |
|
|
|
|