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
848d2e0e
Commit
848d2e0e
authored
Nov 01, 2022
by
wuyongsheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 基于流算子没有帮助手册
parent
a4c7e733
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
30 deletions
+31
-30
index.tsx
...sources/WorkflowOperator/components/AddOperator/index.tsx
+31
-30
No files found.
src/views/ResourceCenter/UserResources/WorkflowOperator/components/AddOperator/index.tsx
View file @
848d2e0e
...
...
@@ -2,7 +2,7 @@
* @Author: 吴永生 15770852798@163.com
* @Date: 2022-10-18 16:12:55
* @LastEditors: 吴永生 15770852798@163.com
* @LastEditTime: 2022-11-01 1
0:38:50
* @LastEditTime: 2022-11-01 1
1:34:04
* @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
*/
...
...
@@ -397,7 +397,7 @@ const AddOperator = observer((props: IAddOperator) => {
className={classNames({
[style.form]: batchBuildType === "ENVIRONMENT",
[style.newForm]: batchBuildType !== "ENVIRONMENT",
[style.formOpen]: tipsOpen,
[style.formOpen]:
batchBuildType !== "OPERATOR" &&
tipsOpen,
[style.formClose]: !tipsOpen,
})}
>
...
...
@@ -419,7 +419,6 @@ const AddOperator = observer((props: IAddOperator) => {
placeholder="请输入算子名称"
value={formData?.title}
onChange={(e) => {
if (e.target.value?.length > 15) return;
changeFormData({ title: e.target.value });
}}
/>
...
...
@@ -579,36 +578,38 @@ const AddOperator = observer((props: IAddOperator) => {
</FormItemBox>
</div>
)}
<div
className={classNames({
[style.helpBox]: true,
[style.helpOpen]: tipsOpen,
[style.helpClose]: !tipsOpen,
})}
>
<div className={style.codeTitle}>
<span>帮助手册</span>
<CloseIcon
onClick={() => setTipsOpen(false)}
sx={{
fontSize: "16px",
color: "#C2C6CC",
cursor: "pointer",
":hover": {
background: "#f0f2f5",
borderRadius: "2px",
},
}}
/>
</div>
<pre
{batchBuildType !== "OPERATOR" && (
<div
className={classNames({
[style.preBox]: true,
[style.helpBox]: true,
[style.helpOpen]: tipsOpen,
[style.helpClose]: !tipsOpen,
})}
>
{text}
</pre>
</div>
<div className={style.codeTitle}>
<span>帮助手册</span>
<CloseIcon
onClick={() => setTipsOpen(false)}
sx={{
fontSize: "16px",
color: "#C2C6CC",
cursor: "pointer",
":hover": {
background: "#f0f2f5",
borderRadius: "2px",
},
}}
/>
</div>
<pre
className={classNames({
[style.preBox]: true,
})}
>
{text}
</pre>
</div>
)}
</div>
{taskType === "FLOW" ? null : (
...
...
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