Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bkunyun
Commits
6e80e2e5
Commit
6e80e2e5
authored
Jun 17, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 样式调优 下载路径取值逻辑修改
parent
4b5e8082
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
MyDialog.tsx
src/components/mui/MyDialog.tsx
+5
-1
index.tsx
src/views/Project/ProjectData/index.tsx
+2
-2
index.module.css
...ews/Project/components/ProjectListPopper/index.module.css
+1
-1
No files found.
src/components/mui/MyDialog.tsx
View file @
6e80e2e5
...
@@ -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"
...
...
src/views/Project/ProjectData/index.tsx
View file @
6e80e2e5
...
@@ -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
,
...
...
src/views/Project/components/ProjectListPopper/index.module.css
View file @
6e80e2e5
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment