How to get uploaded file URL from Quasar Uploader
-
Do you guys know how to get uploaded file URL from Quasar Uploader?
<q-uploader @uploaded="upload" color="grey-11" text-color="black" url="http://abc.com/index.php" multiple extensions=".gif,.jpg,.jpeg,.png" method="POST" additionalFields="[{name:'Accept', value:'application/json'}]" >
-
Add a “ref” property as the following and you can get the “url” through the name of “ref” by using “this.$refs.uploader.url”
<q-uploader ref=“uploader” url=“http://abc.com/index.php” …/>