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
f1820f13
Commit
f1820f13
authored
Sep 01, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 保存自定义批算子时校验提示文案优化
parent
f921c2b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
index.tsx
src/views/CustomOperator/index.tsx
+5
-3
No files found.
src/views/CustomOperator/index.tsx
View file @
f1820f13
...
...
@@ -139,17 +139,19 @@ const CustomOperator = observer((props: IProps) => {
console
.
log
(
"targetArr"
,
targetArr
);
if
(
!
checkHasOneLine
([...
sourceArr
],
[...
targetArr
]))
{
console
.
log
(
"checkHasOneLine"
);
Message
.
error
(
"
内容校验未通过,请检查
!"
);
Message
.
error
(
"
部分算子没有流程线,请检查流程
!"
);
return
;
}
if
(
!
checkIn
([...
targetArr
]))
{
console
.
log
(
"checkIn"
);
Message
.
error
(
"
内容校验未通过,请检查
!"
);
Message
.
error
(
"
每个流程第一步需读取文件/数据集,请检查流程
!"
);
return
;
}
if
(
!
checkOut
([...
sourceArr
]))
{
console
.
log
(
"checkOut"
);
Message
.
error
(
"内容校验未通过,请检查!"
);
Message
.
error
(
"每个流程最后一步必须将数据写入为文件/数据集,请检查流程!"
);
return
;
}
setSaveFormDialog
(
true
);
...
...
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