* [bug#51274,done,0.1h] fix undefined.

This commit is contained in:
qixinzhi
2024-06-19 18:58:51 +08:00
committed by 周鑫
parent 0575e305e2
commit 6d2ecfbd63
+1 -1
View File
@@ -21,7 +21,7 @@ window.renderCell = function(result, info)
const mail = info.row.data;
if(!mail.failReason?.length) return result;
let failReason = mail.failReason.replaceAll('<br />', '');
let failReason = mail.failReason?.replaceAll('<br />', '') ?? '';
let html = "<span title='" + failReason + "'>" + failReason.replaceAll("\n", '') + "</span> ";
return [{html: html}];
}