0👍
In js code, your email value is undefined, please try to hardcode some value for email and check if it works?
const userData = await this.$axios.patch(`/user/${id}/update/`, {
email: "hardcode@email.com"
})
if it works, then you should check your js code why it is not setting the value of email.
- [Vuejs]-VueJS how to make a button disabled, under different conditions?
- [Vuejs]-How to trigger a function when page is changed in vuejs
Source:stackexchange.com