Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement