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
873bef37
Commit
873bef37
authored
Dec 05, 2022
by
wuyongsheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: batch节点样式修改
parent
2c78102d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.tsx
src/views/Project/components/Flow/index.tsx
+3
-3
No files found.
src/views/Project/components/Flow/index.tsx
View file @
873bef37
...
@@ -270,18 +270,18 @@ const Flow = (props: IProps) => {
...
@@ -270,18 +270,18 @@ const Flow = (props: IProps) => {
return
a
-
b
;
return
a
-
b
;
});
});
const
initialHeight
=
isFlowNode
(
value
.
id
)
?
66
:
12
;
const
initialHeight
=
isFlowNode
(
value
.
id
)
?
66
:
12
;
let
w
idth
=
176
,
let
minW
idth
=
176
,
height
=
initialHeight
height
=
initialHeight
if
(
positionXArr
?.
length
)
{
if
(
positionXArr
?.
length
)
{
const
val
=
positionXArr
[
positionXArr
.
length
-
1
]
+
144
;
const
val
=
positionXArr
[
positionXArr
.
length
-
1
]
+
144
;
width
=
val
>
176
?
val
:
w
idth
;
minWidth
=
val
>
176
?
val
:
minW
idth
;
}
}
if
(
positionYArr
?.
length
)
{
if
(
positionYArr
?.
length
)
{
const
val
=
positionYArr
[
positionYArr
.
length
-
1
]
+
74
;
const
val
=
positionYArr
[
positionYArr
.
length
-
1
]
+
74
;
height
=
val
>
initialHeight
?
val
:
height
;
height
=
val
>
initialHeight
?
val
:
height
;
}
}
return
{
return
{
w
idth
,
minW
idth
,
height
,
height
,
};
};
},
},
...
...
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