fix: 不能创建本地镜像

This commit is contained in:
cp3hnu 2024-04-23 17:13:21 +08:00
parent dbed892bd8
commit 7fc0058b71
1 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,10 @@ function MirrorCreate() {
message.error('文件上传失败,请重新上传文件');
return;
}
if (!file.response || !file.response.data) {
message.error('文件上传失败,请重新上传文件');
return;
}
params = {
...omit(formData, ['fileList', 'upload_type']),