Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const application = new Vue({
- el: '#reg',
- data: {
- Player: {
- Username: '',
- Email: '',
- Password: '',
- Confirmation: ''
- }
- },
- methods: {
- register: function () {
- let regform = this.Player;
- const options = {
- method: 'POST',
- headers: {'content-type':'application/form-data'},
- data: regform,
- url: ''
- };
- axios(options)
- .then(function (response) {
- if(error == false){
- //--------------------------------------------
- }
- })
- .catch()
- }
- },
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement