From b0d8a19975d666d11d62e27a58d31defb5d8b478 Mon Sep 17 00:00:00 2001 From: zhaowei Date: Tue, 20 May 2025 14:10:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BF=AB=E9=80=9F=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Workspace/components/QuickStart/index.tsx | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/react-ui/src/pages/Workspace/components/QuickStart/index.tsx b/react-ui/src/pages/Workspace/components/QuickStart/index.tsx index d155dae9..f77f36e2 100644 --- a/react-ui/src/pages/Workspace/components/QuickStart/index.tsx +++ b/react-ui/src/pages/Workspace/components/QuickStart/index.tsx @@ -16,13 +16,13 @@ function QuickStart() { const changeScale = () => { // body 的宽度 - 菜单的宽度 - 两个 padding - 右边用户管理的宽度 - 右边用户管理的 marginLeft - 滚动条的宽度, const width = document.body.offsetWidth - 256 - 80 - 60 - 326 - 15 - 8; - if (width >= 1223) { - const spaceX = (width - 192 * 5 - 60) / 7; + if (width >= 1002) { + const spaceX = (width - 192 * 4 - 60) / 6; setSpace(spaceX); setCanvasWidth('100%'); setScale(1.0); } else { - const ratio = width / 1223; + const ratio = width / 1002; setCanvasWidth('1223px'); setSpace(29); setScale(ratio); @@ -60,20 +60,20 @@ function QuickStart() { y={309} onClick={() => navigate('/datasetPreparation/datasetAnnotation')} /> - navigate('/developmentEnvironment')} - /> + /> */} navigate('/pipeline/template')} /> @@ -81,7 +81,7 @@ function QuickStart() { content="开发者可以在这里运行流水线模板,产生实验实例,对比实验训练过程与产生的实验训练数据" buttonText="实验" buttonTop={40} - x={left + 3 * (192 + space)} + x={left + 2 * (192 + space)} y={295} onClick={() => navigate('/pipeline/experiment')} /> @@ -90,20 +90,20 @@ function QuickStart() { tips="模型在线服务" buttonText="模型在线部署" buttonTop={20} - x={left + 4 * (192 + space) + 60 + space} + x={left + 3 * (192 + space) + 60 + space} y={263} onClick={() => navigate('/dataset/modelDeployment')} />
模型管理
任务自动调度 @@ -117,7 +117,7 @@ function QuickStart() { arrorwTop={-4} borderBottom={1} /> - + /> */}