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

This commit is contained in:
Leo
2026-02-04 17:10:36 +08:00
parent c48943bc67
commit 6fd426d719

View File

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