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,
},
toolbarConfig: {
//
custom: false,
//
zoom: true,
//
refresh: false,
enabled: false,
},
rowConfig: {
isHover: false,

View File

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

View File

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