mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 17:40:05 +08:00
fix: xtable topAction
This commit is contained in:
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
Block a user