mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-26 16:26:41 +08:00
列表选字段导出异常 #9173
This commit is contained in:
@ -132,8 +132,8 @@ export function useListPage(options: ListPageOptions) {
|
||||
for (const column of columns) {
|
||||
if(!column.defaultHidden){
|
||||
let dataIndex = column?.dataIndex;
|
||||
if(column?.dataIndex!.toString().indexOf('_dictText')){
|
||||
dataIndex = column?.dataIndex!.toString().replace('_dictText','')
|
||||
if(column?.dataIndex?.toString()?.indexOf('_dictText') !== -1){
|
||||
dataIndex = column?.dataIndex?.toString().replace('_dictText','')
|
||||
}
|
||||
exportFields.push(dataIndex);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user