fix: xtable topAction

This commit is contained in:
xingyu 2023-01-18 15:05:17 +08:00
parent db914c9758
commit 91e8da47e5

View File

@ -259,6 +259,10 @@ const getToolBarConfig = (options: XTableProps) => {
return
}
} else if (!topActionSlots) {
options.toolbarConfig = {
enabled: true
}
} else {
options.toolbarConfig = {
slots: { buttons: 'toolbar_buttons' }
}