style: 在线用户列表文字靠左对齐
This commit is contained in:
@@ -45,7 +45,7 @@ let tableColumns: ColumnsType = [
|
|||||||
title: t('common.rowId'),
|
title: t('common.rowId'),
|
||||||
dataIndex: 'num',
|
dataIndex: 'num',
|
||||||
width: '50px',
|
width: '50px',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
customRender(opt) {
|
customRender(opt) {
|
||||||
const idxNum = (tablePagination.current - 1) * tablePagination.pageSize;
|
const idxNum = (tablePagination.current - 1) * tablePagination.pageSize;
|
||||||
return idxNum + opt.index + 1;
|
return idxNum + opt.index + 1;
|
||||||
@@ -54,17 +54,17 @@ let tableColumns: ColumnsType = [
|
|||||||
{
|
{
|
||||||
title: t('views.monitor.online.mettingId'),
|
title: t('views.monitor.online.mettingId'),
|
||||||
dataIndex: 'tokenId',
|
dataIndex: 'tokenId',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('views.monitor.online.account'),
|
title: t('views.monitor.online.account'),
|
||||||
dataIndex: 'userName',
|
dataIndex: 'userName',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('views.monitor.online.host'),
|
title: t('views.monitor.online.host'),
|
||||||
dataIndex: 'ipaddr',
|
dataIndex: 'ipaddr',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// title: t('views.monitor.online.loginDes'),
|
// title: t('views.monitor.online.loginDes'),
|
||||||
@@ -74,17 +74,17 @@ let tableColumns: ColumnsType = [
|
|||||||
{
|
{
|
||||||
title: t('views.monitor.online.os'),
|
title: t('views.monitor.online.os'),
|
||||||
dataIndex: 'os',
|
dataIndex: 'os',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('views.monitor.online.lib'),
|
title: t('views.monitor.online.lib'),
|
||||||
dataIndex: 'browser',
|
dataIndex: 'browser',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('views.monitor.online.loginTime'),
|
title: t('views.monitor.online.loginTime'),
|
||||||
dataIndex: 'loginTime',
|
dataIndex: 'loginTime',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
customRender(opt) {
|
customRender(opt) {
|
||||||
if (+opt.value <= 0) return '';
|
if (+opt.value <= 0) return '';
|
||||||
return parseDateToStr(+opt.value);
|
return parseDateToStr(+opt.value);
|
||||||
@@ -93,7 +93,7 @@ let tableColumns: ColumnsType = [
|
|||||||
{
|
{
|
||||||
title: t('common.operate'),
|
title: t('common.operate'),
|
||||||
key: 'tokenId',
|
key: 'tokenId',
|
||||||
align: 'center',
|
align: 'left',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user