Просмотр исходного кода

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

CalciumIon 1 год назад
Родитель
Сommit
9bbe8e7d1b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      web/src/components/LogsTable.js

+ 1 - 1
web/src/components/LogsTable.js

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