<input type="file" ref="file" multiple="multiple" @change="onInputFileChange">
onInputFileChange() {
var photos = []
for (let obj in this.$refs.file.files){
var file = this.$refs.file.files[obj]
var url = URL.createObjectURL(file)
var until = {
imgSrc: url
}
photos.push(until)
}
console.log(photos)
},