From 91e8da47e5116929167ec0632800917278b6f16c Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 18 Jan 2023 15:05:17 +0800 Subject: [PATCH] fix: xtable topAction --- yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue | 4 ++++ 1 file changed, 4 insertions(+) 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' } }