mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-18 08:26:37 +08:00
feat: 日志详情完善
(cherry picked from commit ec79110c99e9b4c076c5f7b8285e535b9c5052db)
This commit is contained in:
parent
e5588fc1ee
commit
ee04dbd9dd
@ -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 (
|
||||||
|
Loading…
Reference in New Issue
Block a user