Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
u1-liquid committed Jul 7, 2019
1 parent d9cd0a0 commit 748bd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/app/common/views/widgets/post-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default define({
for (const x of Array.from((this.$refs.file as any).files)) this.upload(x);
},
upload(file: any, name?: string) {
upload(file: File, name?: string) {
(this.$refs.uploader as any).upload(file, this.$store.state.settings.uploadFolder, name);
},
Expand Down

0 comments on commit 748bd1d

Please sign in to comment.