diff --git a/react-ui/src/pages/AutoML/components/ExperimentResult/index.less b/react-ui/src/pages/AutoML/components/ExperimentResult/index.less
index c36da152..a263564d 100644
--- a/react-ui/src/pages/AutoML/components/ExperimentResult/index.less
+++ b/react-ui/src/pages/AutoML/components/ExperimentResult/index.less
@@ -7,10 +7,9 @@
border-radius: 10px;
&__download {
- display: flex;
- align-items: center;
- height: 34px;
- margin-bottom: 16px;
+ padding-top: 16px;
+ padding-bottom: 16px;
+
padding-left: @content-padding;
color: @text-color;
font-size: 13px;
@@ -18,7 +17,10 @@
border-radius: 4px;
&__btn {
- margin-left: 22px;
+ display: block;
+ height: 36px;
+ margin-top: 15px;
+ font-size: 14px;
}
}
diff --git a/react-ui/src/pages/AutoML/components/ExperimentResult/index.tsx b/react-ui/src/pages/AutoML/components/ExperimentResult/index.tsx
index c5522834..3d191070 100644
--- a/react-ui/src/pages/AutoML/components/ExperimentResult/index.tsx
+++ b/react-ui/src/pages/AutoML/components/ExperimentResult/index.tsx
@@ -1,5 +1,4 @@
import InfoGroup from '@/components/InfoGroup';
-import KFIcon from '@/components/KFIcon';
import { getFileReq } from '@/services/file';
import { to } from '@/utils/promise';
import { Button, Image } from 'antd';
@@ -38,28 +37,10 @@ function ExperimentResult({ fileUrl, imageUrl, modelPath }: ExperimentResultProp
return (
- {modelPath && (
-
- 文件名
- save_model.joblib
- }
- size="small"
- iconPosition="end"
- onClick={() => {
- window.location.href = modelPath;
- }}
- >
- 模型下载
-
-
- )}
{result}
-
+
+ {modelPath && (
+
+ 文件名
+ save_model.joblib
+
+
+ )}
);
}
diff --git a/react-ui/src/pages/Experiment/components/ExperimentDrawer/index.less b/react-ui/src/pages/Experiment/components/ExperimentDrawer/index.less
index 83a91180..c1f1b7ef 100644
--- a/react-ui/src/pages/Experiment/components/ExperimentDrawer/index.less
+++ b/react-ui/src/pages/Experiment/components/ExperimentDrawer/index.less
@@ -3,6 +3,12 @@
.ant-drawer-body {
overflow-y: hidden;
}
+
+ .ant-drawer-close {
+ position: absolute;
+ top: 16px;
+ right: 16px;
+ }
}
&__tabs {
diff --git a/react-ui/src/pages/Experiment/components/ExperimentDrawer/index.tsx b/react-ui/src/pages/Experiment/components/ExperimentDrawer/index.tsx
index 26da1c07..cdcaea19 100644
--- a/react-ui/src/pages/Experiment/components/ExperimentDrawer/index.tsx
+++ b/react-ui/src/pages/Experiment/components/ExperimentDrawer/index.tsx
@@ -2,7 +2,7 @@ import { ExperimentStatus } from '@/enums';
import { experimentStatusInfo } from '@/pages/Experiment/status';
import { PipelineNodeModelSerialize } from '@/types';
import { elapsedTime, formatDate } from '@/utils/date';
-import { DatabaseOutlined, ProfileOutlined } from '@ant-design/icons';
+import { CloseOutlined, DatabaseOutlined, ProfileOutlined } from '@ant-design/icons';
import { Drawer, Tabs } from 'antd';
import { useMemo } from 'react';
import ExperimentParameter from '../ExperimentParameter';
@@ -95,10 +95,11 @@ const ExperimentDrawer = ({
return (
}
onClose={onClose}
open={open}
width={520}
diff --git a/react-ui/src/pages/Pipeline/components/GlobalParamsDrawer/index.tsx b/react-ui/src/pages/Pipeline/components/GlobalParamsDrawer/index.tsx
index 7fe6440a..e54894ea 100644
--- a/react-ui/src/pages/Pipeline/components/GlobalParamsDrawer/index.tsx
+++ b/react-ui/src/pages/Pipeline/components/GlobalParamsDrawer/index.tsx
@@ -49,7 +49,7 @@ const GlobalParamsDrawer = forwardRef(
return (