pull/1189/head
Serdar Sayin 2021-04-18 14:22:08 +03:00
parent 4ea5670058
commit 8c1e991498
1 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ myUploader(event) {
<h5>Empty Template</h5> <h5>Empty Template</h5>
<p>When there is no file selected, you may use the empty slot to display content.</p> <p>When there is no file selected, you may use the empty slot to display content.</p>
<pre v-code><code> <pre v-code><code>
&lt;FileUpload name="demo[]" url="./upload" /&gt; &lt;FileUpload name="demo[]" url="./upload"&gt;
&lt;template #empty&gt; &lt;template #empty&gt;
&lt;p&gt;Drag and drop files to here to upload.&lt;/p&gt; &lt;p&gt;Drag and drop files to here to upload.&lt;/p&gt;
&lt;/template&gt; &lt;/template&gt;
@ -403,7 +403,7 @@ export default {
toast.add({severity: 'info', summary: 'Success', detail: 'File Uploaded', life: 3000}); toast.add({severity: 'info', summary: 'Success', detail: 'File Uploaded', life: 3000});
} }
return { onUpload }; return { onUpload };
} }
} }
<\\/script> <\\/script>
@ -413,4 +413,4 @@ export default {
} }
} }
} }
</script> </script>