日志增加时间显示,调整css
This commit is contained in:
parent
76a1c8aeba
commit
2793a79fb5
File diff suppressed because one or more lines are too long
|
@ -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 }
|
||||
</>
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue