瀏覽代碼

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

CalciumIon 1 年之前
父節點
當前提交
e0b02522fb
共有 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={{