Created
September 5, 2016 14:49
-
-
Save anonymous/b0e74f404b38d4b7d759579e14b5c174 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<script> | |
import Form from './Form' | |
import { update } from '../services/Users' | |
export default { | |
extends: Form, | |
methods: { | |
performSave() { | |
const hideLoad = () => this.$loader.hide() | |
this.$loader.show() | |
update(this.user.id, this.user) | |
.then(...) | |
.then(hideLoad) | |
.cath(hideLoad) | |
}, | |
}, | |
} | |
</script> | |
<template>...</template> | |
<style>...</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment