refactor: vxe升级后一些过时用法
This commit is contained in:
parent
ce6867994a
commit
b737fa940a
@ -50,13 +50,15 @@ setupVbenVxeTable({
|
||||
// 右上角工具栏
|
||||
toolbarConfig: {
|
||||
// 自定义列
|
||||
custom: {
|
||||
custom: true,
|
||||
customOptions: {
|
||||
icon: 'vxe-icon-setting',
|
||||
},
|
||||
// 最大化
|
||||
zoom: true,
|
||||
// 刷新
|
||||
refresh: {
|
||||
refresh: true,
|
||||
refreshOptions: {
|
||||
// 默认为reload 修改为在当前页刷新
|
||||
code: 'query',
|
||||
},
|
||||
|
||||
@ -86,11 +86,12 @@ const gridOptions: VxeGridProps = {
|
||||
},
|
||||
},
|
||||
rowConfig: {
|
||||
keyField: 'tableId',
|
||||
keyField: 'tableName',
|
||||
},
|
||||
toolbarConfig: {
|
||||
enabled: false,
|
||||
},
|
||||
id: 'import-table-modal',
|
||||
cellClassName: 'cursor-pointer',
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user