fix: 未传入exportApi 不展示导出全部
parent
786effd9da
commit
ba2f2429f7
|
@ -113,7 +113,7 @@ export const useVxeGrid = <T = any>(config?: UseVxeGridConfig<T>) => {
|
|||
// 默认选中类型
|
||||
type: 'csv',
|
||||
// 自定义数据量列表
|
||||
modes: ['current', 'all'],
|
||||
modes: config?.exportListApi ? ['current', 'all'] : ['current'],
|
||||
columns: config?.allSchemas.printSchema
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue