Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaojuan huang
Ccms
Commits
6d8b8506
Commit
6d8b8506
authored
3 years ago
by
wangmaixi
Committed by
Gitee
3 years ago
Browse files
Options
Download
Plain Diff
!24 upload组件无法上传
Merge pull request !24 from code_mayun/fix-bug
parents
81eb250a
44fab0de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/formFields/upload/index.tsx
+0
-2
src/components/formFields/upload/index.tsx
with
0 additions
and
2 deletions
+0
-2
src/components/formFields/upload/index.tsx
+
0
-
2
View file @
6d8b8506
...
...
@@ -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
)
})
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment