Commit 91e8da47e5116929167ec0632800917278b6f16c

Authored by xingyu
1 parent db914c97

fix: xtable topAction

yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue
... ... @@ -260,6 +260,10 @@ const getToolBarConfig = (options: XTableProps) => {
260 260 }
261 261 } else if (!topActionSlots) {
262 262 options.toolbarConfig = {
  263 + enabled: true
  264 + }
  265 + } else {
  266 + options.toolbarConfig = {
263 267 slots: { buttons: 'toolbar_buttons' }
264 268 }
265 269 }
... ...