Skip to content

Commit

Permalink
fix: file import (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moyee authored Oct 31, 2023
1 parent 792cd99 commit fca9bc6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ export const FileUploader = (props: FileUploaderProps) => {
name: 'file',
multiple: true,
accept: '.csv',
customRequest(options) {
// @ts-ignore
options.onSuccess(options.filename)
},
onChange(info) {
const { file } = info;
handleFileFormate(file);
Expand Down

0 comments on commit fca9bc6

Please sign in to comment.