[Vuejs]-Can't update data in bootstrap vue table

0👍

solved:
I had to pass the form in updateTest function.Here is my function:

        updateTest() {
        alert(JSON.stringify(this.form))
         this.$http.post('http://127.0.0.1:8000/api/updateTest/' + this.form.id,this.form)
            .then((response)=>{
                this.editting=null
                this.getTests();
                alert("update");
                self.message = 'Data is entered';
                })   
    },

Leave a comment