mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 07:16:08 +08:00
修改登录日志表格样式
This commit is contained in:
parent
f865018cd6
commit
d342fbf29f
|
@ -45,11 +45,13 @@ const columns = [
|
||||||
title: '登录设备',
|
title: '登录设备',
|
||||||
dataIndex: 'platform',
|
dataIndex: 'platform',
|
||||||
key: 'platform',
|
key: 'platform',
|
||||||
|
width: 80,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '登录状态',
|
title: '登录状态',
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
key: 'status',
|
key: 'status',
|
||||||
|
width: 80,
|
||||||
render: (text: string, record: any) => {
|
render: (text: string, record: any) => {
|
||||||
return (
|
return (
|
||||||
<Tag color={LoginStatusColor[record.status]} style={{ marginRight: 0 }}>
|
<Tag color={LoginStatusColor[record.status]} style={{ marginRight: 0 }}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user