diff --git a/src/pages/instance/index.tsx b/src/pages/instance/index.tsx
index 16b7718..21e4445 100644
--- a/src/pages/instance/index.tsx
+++ b/src/pages/instance/index.tsx
@@ -69,15 +69,15 @@ const columns: TableColumnProps[] = [
)
},
- {
- title: '操作',
- dataIndex: '',
- render: (col, record, index) => (
-
- checkInstance(record)} />
-
- )
- }
+ // {
+ // title: '操作',
+ // dataIndex: '',
+ // render: (col, record, index) => (
+ //
+ // checkInstance(record)} />
+ //
+ // )
+ // }
];
function checkInstance(instance) {
diff --git a/src/pages/instance/overview.tsx b/src/pages/instance/overview.tsx
index 07ebcd3..bfa7d46 100644
--- a/src/pages/instance/overview.tsx
+++ b/src/pages/instance/overview.tsx
@@ -64,7 +64,7 @@ const Overview = ({ overviewData }) => {
title="实例平均处理时间"
count={data.avgTime < 1000 ? data.avgTime : Math.floor(data.avgTime / 1000 / 60)}
loading={loading}
- unit={data.avgTime >= 1000 ? '分' + formatSeconds(`${data.avgTime / 1000}`).split('分')[1] || formatSeconds(`${data.avgTime / 1000}`) : '毫秒'}
+ unit={data.avgTime >= 1000 ? '分' + formatSeconds(`${data.avgTime / 1000}`) || formatSeconds(`${data.avgTime / 1000}`) : '毫秒'}
/>