Przeglądaj źródła

feat: 日志详情完善

(cherry picked from commit ec79110c99e9b4c076c5f7b8285e535b9c5052db)
1808837298@qq.com 1 rok temu
rodzic
commit
ee04dbd9dd
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7 3
      web/src/components/LogsTable.js

+ 7 - 3
web/src/components/LogsTable.js

@@ -534,7 +534,7 @@ const LogsTable = () => {
           }
         }
         expandDataLocal.push({
-          key: '重试',
+          key: '渠道重试',
           value: content,
         })
       }
@@ -556,9 +556,13 @@ const LogsTable = () => {
           value: other.text_output,
         });
       }
+      expandDataLocal.push({
+        key: '倍率详情',
+        value: logs[i].content,
+      })
       expandDatesLocal[logs[i].key] = expandDataLocal;
     }
-    console.log(expandDatesLocal);
+
     setExpandData(expandDatesLocal);
 
     setLogs(logs);
@@ -634,7 +638,7 @@ const LogsTable = () => {
   }, []);
 
   const expandRowRender = (record, index) => {
-    return <Descriptions align="justify" data={expandData[record.key]} />;
+    return <Descriptions data={expandData[record.key]} />;
   };
 
   return (