Pārlūkot izejas kodu

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

CalciumIon 1 gadu atpakaļ
vecāks
revīzija
e0b02522fb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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={{