diff --git a/src/views/fileupload/FileUploadDoc.vue b/src/views/fileupload/FileUploadDoc.vue index 7aa2b1c89..5d4ec261e 100755 --- a/src/views/fileupload/FileUploadDoc.vue +++ b/src/views/fileupload/FileUploadDoc.vue @@ -81,7 +81,7 @@ myUploader(event) {
When there is no file selected, you may use the empty slot to display content.
-<FileUpload name="demo[]" url="./upload" />
+<FileUpload name="demo[]" url="./upload">
<template #empty>
<p>Drag and drop files to here to upload.</p>
</template>
@@ -409,7 +409,7 @@ export default {
toast.add({severity: 'info', summary: 'Success', detail: 'File Uploaded', life: 3000});
}
- return { onUpload };
+ return { onUpload };
}
}
<\\/script>
@@ -419,4 +419,4 @@ export default {
}
}
}
-
\ No newline at end of file
+