This commit is contained in:
dap
2024-10-30 07:43:59 +08:00
11 changed files with 44 additions and 26 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>