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
7bd76622
Commit
7bd76622
authored
Oct 31, 2022
by
wuyongsheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bug修改
parent
21c868ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
6 deletions
+40
-6
index.tsx
src/views/CustomOperator/components/OperatorList/index.tsx
+7
-1
index.module.css
.../WorkflowOperator/components/AddOperator/index.module.css
+22
-2
index.tsx
...sources/WorkflowOperator/components/AddOperator/index.tsx
+11
-3
No files found.
src/views/CustomOperator/components/OperatorList/index.tsx
View file @
7bd76622
...
...
@@ -52,7 +52,13 @@ const OperatorList = (props: IProps) => {
};
});
setIsLastPage
(
res
?.
data
?.
last
);
setList
([...
list
,
...
arr
]);
/** 兼容更改其他条件初始化,重置数据 */
if
(
res
?.
data
?.
pageable
?.
pageNumber
===
0
)
{
setList
(
arr
);
}
else
{
setList
([...
list
,
...
arr
]);
}
},
});
...
...
src/views/ResourceCenter/UserResources/WorkflowOperator/components/AddOperator/index.module.css
View file @
7bd76622
...
...
@@ -33,12 +33,12 @@
.content
{
display
:
flex
;
/* position: relative; */
/* overflow: hidden; */
position
:
relative
;
border-radius
:
4px
;
margin-bottom
:
20px
;
height
:
600px
;
}
.form
{
width
:
368px
;
min-width
:
368px
;
...
...
@@ -109,3 +109,23 @@
.react-flow
>
div
:last-child
{
display
:
none
;
}
.formOpen
{
position
:
absolute
;
height
:
100%
;
left
:
-420px
;
}
.formClose
{
height
:
100%
;
}
.helpOpen
{
height
:
100%
;
}
.helpClose
{
position
:
absolute
;
height
:
100%
;
right
:
-420px
;
}
src/views/ResourceCenter/UserResources/WorkflowOperator/components/AddOperator/index.tsx
View file @
7bd76622
...
...
@@ -2,7 +2,7 @@
* @Author: 吴永生 15770852798@163.com
* @Date: 2022-10-18 16:12:55
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-10-31 1
1:23:34
* @LastEditTime: 2022-10-31 1
9:54:43
* @FilePath: /bkunyun/src/views/ResourceCenter/UserResources/WorkflowOperator/components/AddOperator/index.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -392,12 +392,13 @@ const AddOperator = observer((props: IAddOperator) => {
/>
</div>
) : null}
<div className={style.content}>
<div
className={classNames({
[style.form]: batchBuildType === "ENVIRONMENT",
[style.newForm]: batchBuildType !== "ENVIRONMENT",
[style.formOpen]: tipsOpen,
[style.formClose]: !tipsOpen,
})}
>
<FormItemBox
...
...
@@ -585,8 +586,15 @@ const AddOperator = observer((props: IAddOperator) => {
</FormItemBox>
</div>
)}
{/* <div style={{ width: "368px", backgroundColor: "red" }}></div> */}
<div
style={{ width: "368px", backgroundColor: "red" }}
className={classNames({
[style.helpOpen]: tipsOpen,
[style.helpClose]: !tipsOpen,
})}
></div>
</div>
{taskType === "FLOW" ? null : (
<div
className={style.parameterConfigBox}
...
...
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