From e688e41360f6acedde8c3c31cdc6e8392b6e24eb Mon Sep 17 00:00:00 2001 From: CaIon <1808837298@qq.com> Date: Sat, 13 Jan 2024 22:38:50 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BE=8E=E5=8C=96=E7=BB=98=E7=94=BB?= =?UTF-8?q?=E7=95=8C=E9=9D=A2UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/MjLogsTable.js | 8 ++++---- web/src/pages/Midjourney/index.js | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/web/src/components/MjLogsTable.js b/web/src/components/MjLogsTable.js index dafc80d..18d5adb 100644 --- a/web/src/components/MjLogsTable.js +++ b/web/src/components/MjLogsTable.js @@ -37,7 +37,7 @@ function renderType(type) { case 'BLEAND': return 图混合; default: - return 未知; + return 未知; } } @@ -51,7 +51,7 @@ function renderCode(code) { case 22: return 重复提交; default: - return 未知; + return 未知; } } @@ -70,7 +70,7 @@ function renderStatus(type) { case 'FAILURE': return 失败; default: - return 未知; + return 未知; } } @@ -173,7 +173,7 @@ const LogsTable = () => {
{ // 转换例如100%为数字100,如果text未定义,返回0 - }
diff --git a/web/src/pages/Midjourney/index.js b/web/src/pages/Midjourney/index.js index a875522..ed22ecd 100644 --- a/web/src/pages/Midjourney/index.js +++ b/web/src/pages/Midjourney/index.js @@ -1,5 +1,4 @@ import React from 'react'; -import { Header, Segment } from 'semantic-ui-react'; import MjLogsTable from '../../components/MjLogsTable'; const Midjourney = () => (