Commit 6d8b8506 authored by wangmaixi's avatar wangmaixi Committed by Gitee
Browse files

!24 upload组件无法上传

Merge pull request !24 from code_mayun/fix-bug
parents 81eb250a 44fab0de
Showing with 0 additions and 2 deletions
+0 -2
......@@ -144,8 +144,6 @@ export default class UploadField extends Field<UploadFieldConfig, IUploadField,
}
resolve(true)
}
// @ts-ignore
if (global) global.URL.createObjectURL = jest && jest.fn(() => 'faker createObjectURL')
img.src = URL.createObjectURL(file)
})
}
......
Supports Markdown
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