Commit d12799f9 authored by chenshouchao's avatar chenshouchao

fix: 解决自定义模板保存问题

parent 5342de1f
......@@ -50,6 +50,9 @@ const FileSelect = observer((props: FileSelectProps) => {
console.log(selectFileName);
console.log(selectItem);
// onConfirm(path);
// /ProjectData
// /ProjectData/cromwell/slurm
};
// 搜索值改变
......
......@@ -192,6 +192,8 @@ const WorkFlowEdit = observer((props: IProps) => {
} else {
return false;
}
} else {
return true;
}
} else {
setVersionHelper({
......@@ -287,8 +289,6 @@ const WorkFlowEdit = observer((props: IProps) => {
// 表单弹窗确定,新建/编辑自定义模板保存
const handleOncofirm = () => {
checkTitle(title);
checkVersion(version);
if (checkTitle(title) && checkVersion(version)) {
saveUserSpecRun({
title,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment