Commit 8f5f4ed1 authored by chenshouchao's avatar chenshouchao

Merge branch 'feat-20220608-projectdata' into 'release'

cn-Feat 20220608 projectdata

See merge request sunyihao/bkunyun!60
parents af0cb5c3 635d2b4a
...@@ -237,6 +237,8 @@ const MoveFile = (props: any) => { ...@@ -237,6 +237,8 @@ const MoveFile = (props: any) => {
console.log(error); console.log(error);
if (error?.response?.status === 405) { if (error?.response?.status === 405) {
Message.error("因目标路径存在同名文件,数据移动失败。"); Message.error("因目标路径存在同名文件,数据移动失败。");
} else {
Message.error("文件服务发生错误,数据移动失败。");
} }
}); });
}; };
...@@ -262,6 +264,8 @@ const MoveFile = (props: any) => { ...@@ -262,6 +264,8 @@ const MoveFile = (props: any) => {
console.log(error); console.log(error);
if (error?.response?.status === 405) { if (error?.response?.status === 405) {
Message.error("因目标路径存在同名文件,数据移动失败。"); Message.error("因目标路径存在同名文件,数据移动失败。");
} else {
Message.error("文件服务发生错误,数据移动失败。");
} }
}); });
}; };
......
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