0👍
I am not going to answer your, question, but I will format your code, so maybe someone else will:
<v-file-input @change="addUploadedfiles" v-mode="uploaded_file">
data() {
retrun{
formData: {
status: 'new',
subject: '',
name: '',
uploaded_file: [],
}
}
}
methods: {
addUploadedfiles(){
this.uploaded_file.forEach((file)=>{file_content: this.uploaded_file})
}
}
http.post("/submitform", this.data)
- [Vuejs]-Vue router get full path based on nested route
- [Vuejs]-Include additional data/value in Vuejs v-for loop
Source:stackexchange.com