Merge pull request #1189 from sayinserdar/fix-file-upload-demo-docs-typo
Fix typo on FileUpload examplepull/1281/head
commit
6963002487
|
@ -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>
|
||||||
<FileUpload name="demo[]" url="./upload" />
|
<FileUpload name="demo[]" url="./upload">
|
||||||
<template #empty>
|
<template #empty>
|
||||||
<p>Drag and drop files to here to upload.</p>
|
<p>Drag and drop files to here to upload.</p>
|
||||||
</template>
|
</template>
|
||||||
|
@ -409,7 +409,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>
|
||||||
|
@ -419,4 +419,4 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue