Commit 6e80e2e5 authored by chenshouchao's avatar chenshouchao

fix: 样式调优 下载路径取值逻辑修改

parent 4b5e8082
...@@ -61,7 +61,11 @@ const MyDialog = (props: any) => { ...@@ -61,7 +61,11 @@ const MyDialog = (props: any) => {
{title} {title}
</DialogTitle> </DialogTitle>
)} )}
<DialogContent> <DialogContent
sx={{
minWidth: "400px",
}}
>
{props.children} {props.children}
<IconButton <IconButton
aria-label="delete" aria-label="delete"
......
...@@ -357,7 +357,7 @@ const ProjectData = observer(() => { ...@@ -357,7 +357,7 @@ const ProjectData = observer(() => {
// table配置 // table配置
const renderButtons = (item: any) => { const renderButtons = (item: any) => {
return ( return (
<span> <span style={{ whiteSpace: "nowrap" }}>
{!isAllDirectory && ( {!isAllDirectory && (
<Button <Button
sx={{ sx={{
...@@ -430,7 +430,7 @@ const ProjectData = observer(() => { ...@@ -430,7 +430,7 @@ const ProjectData = observer(() => {
// 下载文件 // 下载文件
const hanleDownloadFile = (item: any) => { const hanleDownloadFile = (item: any) => {
const downloadPath = path + item.name; const downloadPath = path === "/" ? "/" : `${path}/${item.name}`;
CloudEController.JobFileDownload( CloudEController.JobFileDownload(
downloadPath, downloadPath,
fileToken as string, fileToken as string,
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
} }
.projectOwnerTime { .projectOwnerTime {
display: flex; display: flex;
justify-content: flex-start; justify-content: space-between;
} }
.projectOwner { .projectOwner {
color: #565c66; color: #565c66;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment