mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 03:01:53 +08:00
fix: 未传入exportApi 不展示导出全部
This commit is contained in:
parent
786effd9da
commit
ba2f2429f7
@ -113,7 +113,7 @@ export const useVxeGrid = <T = any>(config?: UseVxeGridConfig<T>) => {
|
|||||||
// 默认选中类型
|
// 默认选中类型
|
||||||
type: 'csv',
|
type: 'csv',
|
||||||
// 自定义数据量列表
|
// 自定义数据量列表
|
||||||
modes: ['current', 'all'],
|
modes: config?.exportListApi ? ['current', 'all'] : ['current'],
|
||||||
columns: config?.allSchemas.printSchema
|
columns: config?.allSchemas.printSchema
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user