chore: add vxe-table toolbar example (#4765)

This commit is contained in:
Vben
2024-10-29 22:47:15 +08:00
committed by GitHub
parent d23db32f04
commit e600d78cb9
9 changed files with 548 additions and 430 deletions

View File

@@ -33,7 +33,6 @@ const gridOptions: VxeGridProps<RowType> = {
],
height: 'auto',
keepSource: true,
pagerConfig: {},
proxyConfig: {
ajax: {
query: async ({ page }) => {
@@ -44,9 +43,18 @@ const gridOptions: VxeGridProps<RowType> = {
},
},
},
toolbarConfig: {
custom: true,
// export: true,
// import: true,
refresh: true,
zoom: true,
},
};
const [Grid, gridApi] = useVbenVxeGrid({ gridOptions });
const [Grid, gridApi] = useVbenVxeGrid({
gridOptions,
});
</script>
<template>