Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera
Created September 19, 2017 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uno-de-piera/314bf2c167bd56c97f09af800eb9f3f7 to your computer and use it in GitHub Desktop.
Save uno-de-piera/314bf2c167bd56c97f09af800eb9f3f7 to your computer and use it in GitHub Desktop.
notifications: {
successSave: {
title: 'Success',
message: 'Proceso correcto',
type: 'success'
},
errorSave: {
title: 'Error',
message: 'Error en el proceso',
type: 'error'
}
},
methods: {
submit: function() {
if(success) {
this.successSave();
} else {
this.errorSave();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment