1👍
Suppoue you have the students data on dataStudent:[]
now you entered a new data on same table where from dataStudent:[]
came, when you enter data to database subbpouse you have data on formValue:{}
which is object and all the data from formValue added on database now after successfully added you have to push these data to the array,
like: dataStudent.push(formValue);
- [Vuejs]-Undefined variable – While api fetch | Axios | Props
- [Vuejs]-Vuejs bootstrap b-table data not loading/updating
Source:stackexchange.com