fix: xtable topAction
parent
db914c9758
commit
91e8da47e5
|
@ -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' }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue