diff --git a/web/src/components/table/LogsTable.js b/web/src/components/table/LogsTable.js
index 2ebd5edb..c41f19bf 100644
--- a/web/src/components/table/LogsTable.js
+++ b/web/src/components/table/LogsTable.js
@@ -89,37 +89,37 @@ const LogsTable = () => {
switch (type) {
case 1:
return (
- }>
+
{t('充值')}
);
case 2:
return (
- }>
+
{t('消费')}
);
case 3:
return (
- }>
+
{t('管理')}
);
case 4:
return (
- }>
+
{t('系统')}
);
case 5:
return (
- }>
+
{t('错误')}
);
default:
return (
- }>
+
{t('未知')}
);
@@ -129,13 +129,13 @@ const LogsTable = () => {
function renderIsStream(bool) {
if (bool) {
return (
- }>
+
{t('流')}
);
} else {
return (
- }>
+
{t('非流')}
);
@@ -146,21 +146,21 @@ const LogsTable = () => {
const time = parseInt(type);
if (time < 101) {
return (
- }>
+
{' '}
{time} s{' '}
);
} else if (time < 300) {
return (
- }>
+
{' '}
{time} s{' '}
);
} else {
return (
- }>
+
{' '}
{time} s{' '}
@@ -173,21 +173,21 @@ const LogsTable = () => {
time = time.toFixed(1);
if (time < 3) {
return (
- }>
+
{' '}
{time} s{' '}
);
} else if (time < 10) {
return (
- }>
+
{' '}
{time} s{' '}
);
} else {
return (
- }>
+
{' '}
{time} s{' '}
@@ -245,11 +245,6 @@ const LogsTable = () => {
onClick: (event) => {
copyText(event, record.model_name).then((r) => { });
},
- suffixIcon: (
-
- ),
})}
@@ -374,7 +369,6 @@ const LogsTable = () => {
color={colors[parseInt(text) % colors.length]}
size='large'
shape='circle'
- prefixIcon={}
>
{' '}
{text}{' '}
@@ -427,7 +421,6 @@ const LogsTable = () => {
color='grey'
size='large'
shape='circle'
- prefixIcon={}
onClick={(event) => {
//cancel the row click event
copyText(event, text);