fix: 不能创建本地镜像
This commit is contained in:
parent
dbed892bd8
commit
7fc0058b71
|
@ -90,6 +90,10 @@ function MirrorCreate() {
|
|||
message.error('文件上传失败,请重新上传文件');
|
||||
return;
|
||||
}
|
||||
if (!file.response || !file.response.data) {
|
||||
message.error('文件上传失败,请重新上传文件');
|
||||
return;
|
||||
}
|
||||
|
||||
params = {
|
||||
...omit(formData, ['fileList', 'upload_type']),
|
||||
|
|
Loading…
Reference in New Issue