fix: 日志详情非消费类型显示错误

This commit is contained in:
CalciumIon 2024-07-15 20:23:19 +08:00
parent e2b9061650
commit 9bbe8e7d1b

View File

@ -367,7 +367,7 @@ const LogsTable = () => {
dataIndex: 'content', dataIndex: 'content',
render: (text, record, index) => { render: (text, record, index) => {
let other = getLogOther(record.other); let other = getLogOther(record.other);
if (other == null) { if (other == null || record.type !== 2) {
return ( return (
<Paragraph <Paragraph
ellipsis={{ ellipsis={{