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