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
sunyihao
bkunyun
Commits
8ea32fdc
Commit
8ea32fdc
authored
Jun 16, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-20220608-projectdata' into 'release'
feat: 样式调优 See merge request
!39
parents
2cdb2734
0c956341
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
index.tsx
src/views/Project/ProjectData/index.tsx
+22
-7
No files found.
src/views/Project/ProjectData/index.tsx
View file @
8ea32fdc
...
...
@@ -377,7 +377,12 @@ const ProjectData = observer(() => {
<
span
>
{
item
.
type
!==
"dataSet"
&&
item
.
type
!==
"directory"
&&
(
<
Button
sx=
{
{
position
:
"relative"
,
left
:
"-18px"
,
minWidth
:
'10px'
,
marginRight
:
'10px'
}
}
sx=
{
{
position
:
"relative"
,
left
:
"-4px"
,
minWidth
:
"10px"
,
marginRight
:
"10px"
,
}
}
variant=
"text"
size=
"small"
disabled=
{
selectIds
.
length
>
0
||
!
isPass
(
"PROJECT_DATA_DOWNLOAD"
)
}
...
...
@@ -386,7 +391,12 @@ const ProjectData = observer(() => {
</
Button
>
)
}
<
Button
sx=
{
{
position
:
"relative"
,
left
:
"-18px"
,
minWidth
:
'10px'
,
marginRight
:
'10px'
}
}
sx=
{
{
position
:
"relative"
,
left
:
"-4px"
,
minWidth
:
"10px"
,
marginRight
:
"10px"
,
}
}
variant=
"text"
size=
"small"
onClick=
{
()
=>
hanleShowMoveFileDialog
(
item
)
}
...
...
@@ -397,7 +407,12 @@ const ProjectData = observer(() => {
移动至
</
Button
>
<
Button
sx=
{
{
position
:
"relative"
,
left
:
"-18px"
,
minWidth
:
'10px'
,
marginRight
:
'10px'
}
}
sx=
{
{
position
:
"relative"
,
left
:
"-4px"
,
minWidth
:
"10px"
,
marginRight
:
"10px"
,
}
}
variant=
"text"
size=
"small"
color=
"error"
...
...
@@ -585,15 +600,15 @@ const ProjectData = observer(() => {
return
(
<
span
key=
{
index
}
onClick=
{
()
=>
{
onClick=
{
()
=>
{
if
(
index
===
1
)
{
return
return
;
}
setPath
(
pathArr
.
slice
(
0
,
index
+
1
).
join
(
"/"
)
===
""
?
"/"
:
pathArr
.
slice
(
0
,
index
+
1
).
join
(
"/"
)
)
)
;
}
}
className=
{
classnames
({
[
style
.
showPathSpan
]:
true
,
...
...
@@ -777,7 +792,7 @@ const ProjectData = observer(() => {
<
DialogContent
>
<
DialogContentText
id=
"alert-dialog-description"
>
{
currentOperateFile
?
'确认删除该数据吗?'
?
"确认删除该数据吗?"
:
`确认删除这${selectIds.length}条数据吗?`
}
</
DialogContentText
>
</
DialogContent
>
...
...
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