refactor: 使用更简洁的写法
This commit is contained in:
parent
fd4ecfeb4c
commit
8c75d13ab4
@ -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,
|
||||||
|
@ -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: {
|
||||||
|
@ -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,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user