diff --git a/yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue b/yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue index 160afa0ba..d093489db 100644 --- a/yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue +++ b/yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue @@ -259,6 +259,10 @@ const getToolBarConfig = (options: XTableProps) => { return } } else if (!topActionSlots) { + options.toolbarConfig = { + enabled: true + } + } else { options.toolbarConfig = { slots: { buttons: 'toolbar_buttons' } }