feat: 日志详情完善

(cherry picked from commit ec79110c99e9b4c076c5f7b8285e535b9c5052db)
This commit is contained in:
1808837298@qq.com 2024-10-14 15:40:49 +08:00 committed by CalciumIon
parent e5588fc1ee
commit ee04dbd9dd

View File

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