日志增加时间显示,调整css

This commit is contained in:
“xxq250” 2022-08-11 15:54:11 +08:00
parent 76a1c8aeba
commit 2793a79fb5
2 changed files with 3 additions and 3 deletions

2
web/dist/umi.js vendored

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@ export default (props: Props) => {
title="查看日志"
visible={visible}
onCancel={onCancel}
width={600}
width={800}
footer={<Button onClick={onCancel} ></Button>}
bodyStyle={{ overflow: 'auto', maxHeight: 600 }}
>
@ -32,7 +32,7 @@ export default (props: Props) => {
{
logsData?.data?.list?.map((item: API.Log, index: number) => (
<>
<div>{moment(item.create_time).format('YYYY-MM-DD HH:mm:ss')} {item.log_type} {item.log}</div>
<div>{moment(item.create_time).format('YYYY-MM-DD HH:mm:ss')}{item.log_type}{item.log}</div>
{index === logsData?.data?.list?.length ? <br/> : null }
</>
))