refactor: 使用更简洁的写法

This commit is contained in:
dap 2025-01-21 18:13:06 +08:00
parent fd4ecfeb4c
commit 8c75d13ab4
3 changed files with 3 additions and 15 deletions

View File

@ -78,12 +78,7 @@ const gridOptions: VxeGridProps = {
enabled: false, enabled: false,
}, },
toolbarConfig: { toolbarConfig: {
// enabled: false,
custom: false,
//
zoom: true,
//
refresh: false,
}, },
rowConfig: { rowConfig: {
isHover: false, isHover: false,

View File

@ -85,9 +85,7 @@ const gridOptions: VxeGridProps = {
enabled: false, enabled: false,
}, },
toolbarConfig: { toolbarConfig: {
custom: false, enabled: false,
zoom: false,
refresh: false,
}, },
proxyConfig: { proxyConfig: {
ajax: { ajax: {

View File

@ -145,12 +145,7 @@ const gridOptions: VxeGridProps = {
enabled: false, enabled: false,
}, },
toolbarConfig: { toolbarConfig: {
// enabled: false,
custom: false,
//
zoom: false,
//
refresh: false,
}, },
showOverflow: false, showOverflow: false,
}; };