mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-17 23:22:01 +08:00
refactor: vxe升级后一些过时用法
This commit is contained in:
@@ -50,13 +50,15 @@ setupVbenVxeTable({
|
|||||||
// 右上角工具栏
|
// 右上角工具栏
|
||||||
toolbarConfig: {
|
toolbarConfig: {
|
||||||
// 自定义列
|
// 自定义列
|
||||||
custom: {
|
custom: true,
|
||||||
|
customOptions: {
|
||||||
icon: 'vxe-icon-setting',
|
icon: 'vxe-icon-setting',
|
||||||
},
|
},
|
||||||
// 最大化
|
// 最大化
|
||||||
zoom: true,
|
zoom: true,
|
||||||
// 刷新
|
// 刷新
|
||||||
refresh: {
|
refresh: true,
|
||||||
|
refreshOptions: {
|
||||||
// 默认为reload 修改为在当前页刷新
|
// 默认为reload 修改为在当前页刷新
|
||||||
code: 'query',
|
code: 'query',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -86,11 +86,12 @@ const gridOptions: VxeGridProps = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
rowConfig: {
|
rowConfig: {
|
||||||
keyField: 'tableId',
|
keyField: 'tableName',
|
||||||
},
|
},
|
||||||
toolbarConfig: {
|
toolbarConfig: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
},
|
||||||
|
id: 'import-table-modal',
|
||||||
cellClassName: 'cursor-pointer',
|
cellClassName: 'cursor-pointer',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user