0👍
You could use put request in your axios. see code below
axios.put('api endpoint'+this.student.id, this.student).then(({data}) => {
... success
})
- [Vuejs]-How to pass data into Vue instance so that subsequent updates are reflected?
- [Vuejs]-Bug when using v-model causing the input field to be deselected after each keystroke
Source:stackexchange.com