I am trying to pass from an input multiply images to the api as the following:
<el-form-item label="images" prop="images">
<el-input name="files" type="file" multiple="multiple" v-model="property.images" v-on:input="changed"/>
</el-form-item>
and then passing to the data as:
data() {
return {
property: { title: '', description: '', price: 0, images []},
then passing to api:
createProperty() {
WebAppAPI.CreateProperty(this.property).then(response => {
but is only passing one string url, even though I add several images.
Any idea what else do I need to do to pass an array instead of a string?