This commit is contained in:
xielue 2023-09-16 11:54:11 +08:00
parent cd11856de9
commit dcd2014c8c
1 changed files with 6 additions and 1 deletions

View File

@ -101,7 +101,12 @@ VXETable.formats.mixin({
&& column.params.textField && typeof (cellValue) == "object"
) {
return cellValue[column.params.textField];
if(cellValue){
return cellValue[column.params.textField];
}else{
return '';
}
}
return cellValue && cellValue[1] ? cellValue[1] : ''
},