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