Skip to content

Commit

Permalink
fix: Uploader remove Array.from
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin committed Sep 20, 2017
1 parent 1963435 commit 8dca8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Uploader/Uploader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Uploader extends PureComponent {

handleChange(e) {
const { onChange, quality, multiple } = this.props;
const files = Array.from(e.target.files);
const files = [].slice.call(e.target.files);
const fileList = [];

const getFileInfo = (data) => {
Expand Down

0 comments on commit 8dca8a2

Please sign in to comment.