fix: 当 showToolbar 为 false 时禁用工具栏(vxe-table),减少无 Toolbar 的 Gird 留白

pull/332/head^2
Leo 2026-02-04 17:10:36 +08:00
parent c48943bc67
commit 6fd426d719
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ const toolbarOptions = computed(() => {
}
if (!showToolbar.value) {
toolbarConfig.enabled = false;
return { toolbarConfig };
}