fix: vxeTable 警告问题
This commit is contained in:
parent
2e8be6c33a
commit
3b09b162a8
@ -51,7 +51,8 @@ export const useVxeTable = <T>(opt: iVxeOption, extras?: VxeGridProps<T>) => {
|
||||
toolbarConfig: {
|
||||
size: vxeSize,
|
||||
slots: { buttons: 'toolbar_buttons', tools: 'toolbar_tools' },
|
||||
refresh: {
|
||||
refresh: true,
|
||||
refreshOptions: {
|
||||
code: 'query',
|
||||
},
|
||||
export: true,
|
||||
@ -98,7 +99,7 @@ export const useVxeTable = <T>(opt: iVxeOption, extras?: VxeGridProps<T>) => {
|
||||
enabled: true,
|
||||
autoLoad: false,
|
||||
sort: true,
|
||||
props: {
|
||||
response: {
|
||||
list: 'data.result', // 全量
|
||||
result: 'data.result.items', // 分页
|
||||
total: 'data.result.total',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user