diff --git a/src/components/App.vue b/src/components/App.vue
index 42114fe..22918d7 100644
--- a/src/components/App.vue
+++ b/src/components/App.vue
@@ -22,10 +22,10 @@
- Error! {{message}}
+ Error! {{errorMessage}}
- Success! {{message}}
+ Success! {{successMessage}}
@@ -65,7 +65,8 @@ export default {
return {
showError: false,
showSuccess: false,
- message: '',
+ errorMessage: '',
+ successMessage: '',
store: store
}
},
@@ -83,18 +84,18 @@ export default {
},
'error': function(message) {
console.error(message)
- this.message = message
+ this.errorMessage = message
this.showError = true
},
'success': function(message) {
console.info(message)
- this.message = message
+ this.successMessage = message
this.showSuccess = true
const that = this
setTimeout(function() {
that.showSuccess = false
- that.message = ''
+ that.successMessage = ''
},3000)
}
}