|
|
@ -117,6 +117,8 @@ export const transformAntdTableProColumns = (columns: XFormTypes.IColumn[], over |
|
|
|
const data = has(res.data, resKey) ? get(res.data, resKey) : res.data |
|
|
|
|
|
|
|
return mapTree(data || [], (i: any) => { |
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
|
|
// @ts-ignore
|
|
|
|
const disabled = has(i, disabledKey) ? get(i, disabledKey) : ('status' in i ? !convertToBool(i.status) : false) |
|
|
|
return { |
|
|
|
title: i[label || 'label'], |
|
|
|