|
|
@@ -25,8 +25,9 @@ function C1ImportRes({ onClose, tableInfo, uploadFu, isLook = false }: Props) {
|
|
|
{
|
|
|
title: '失败原因',
|
|
|
render: (_: any, record: any) => {
|
|
|
- const isFail = record.importIsTrue === 0 || record.importIsTrue === 0
|
|
|
- const errArr = record.EError ?? record.eerror ?? []
|
|
|
+ const isFail = record.importIsTrue === 0
|
|
|
+ const errArr = record.importErrorMsg ?? record.EError ?? record.eerror ?? []
|
|
|
+ // console.log('errArr', errArr)
|
|
|
if (!isFail) return ''
|
|
|
return Array.isArray(errArr) ? (
|
|
|
<span style={{ whiteSpace: 'pre-line' }}>{errArr.join('\n')}</span>
|