Skip to content

Commit

Permalink
Update components/shared/DropUpload.vue
Browse files Browse the repository at this point in the history
Co-authored-by: Jarsen <[email protected]>
  • Loading branch information
roiLeo and Jarsen136 authored Aug 18, 2023
1 parent 54da8ea commit 73f9e82
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/shared/DropUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@ const createInput = (inputFile: Blob): void | boolean => {
fileSizeFailed.value = false
checkFailed.value = false
const reader = new FileReader()
reader.onload = () => {
// handleSelection(reader.result)
// $consola.log(reader.si);
}
emit('input', inputFile)
if (props.preview) {
url.value = URL.createObjectURL(inputFile)
Expand Down

0 comments on commit 73f9e82

Please sign in to comment.