refactor: oauth2 vxe

This commit is contained in:
xingyu4j
2022-11-13 14:40:51 +08:00
parent bdc988e5b7
commit 7250e23df3
9 changed files with 348 additions and 436 deletions

View File

@ -45,13 +45,13 @@ export const useVxeGrid = <T = any>(config?: UseVxeGridConfig<T>) => {
isHover: true // 当鼠标移到行时,是否要高亮当前行
},
toolbarConfig: {
custom: true,
slots: { buttons: 'toolbar_buttons' }
},
printConfig: {
columns: config?.allSchemas.printSchema
},
formConfig: {
enabled: true,
titleWidth: 100,
titleAlign: 'right',
items: config?.allSchemas.searchSchema
@ -120,6 +120,7 @@ export const useVxeGrid = <T = any>(config?: UseVxeGridConfig<T>) => {
})
})
}
return {
gridOptions,
delList