Last active
April 18, 2019 07:23
-
-
Save kabitacode/b96b3173258ba04518a6ef2e32729030 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
del(user){ | |
axios.delete('http://localhost:3000/users/' + user.id).then(res =>{ | |
this.load() | |
let index = this.users.indexOf(form.name) | |
this.users.splice(index,1) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment