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(+), 0 deletions(-) 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 160afa0..d093489 100644 --- a/yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue +++ b/yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue @@ -260,6 +260,10 @@ const getToolBarConfig = (options: XTableProps) => { } } else if (!topActionSlots) { options.toolbarConfig = { + enabled: true + } + } else { + options.toolbarConfig = { slots: { buttons: 'toolbar_buttons' } } } -- libgit2 0.21.4