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,
};