|
|
@@ -147,6 +147,11 @@ export default Vue.extend({
|
|
|
}, 1000)
|
|
|
this.loading = false
|
|
|
}).catch(err => {
|
|
|
+ this.$notify({
|
|
|
+ title: '发送失败',
|
|
|
+ message: err,
|
|
|
+ type: 'error'
|
|
|
+ })
|
|
|
this.loading = false
|
|
|
})
|
|
|
},
|
|
|
@@ -179,9 +184,19 @@ export default Vue.extend({
|
|
|
type: 'success'
|
|
|
})
|
|
|
}).catch(err => {
|
|
|
+ this.$notify({
|
|
|
+ title: '注册失败',
|
|
|
+ message: err,
|
|
|
+ type: 'error'
|
|
|
+ })
|
|
|
this.loading = false
|
|
|
})
|
|
|
}).catch(err => {
|
|
|
+ this.$notify({
|
|
|
+ title: '注册失败',
|
|
|
+ message: err,
|
|
|
+ type: 'error'
|
|
|
+ })
|
|
|
this.loading = false
|
|
|
})
|
|
|
},
|
|
|
@@ -207,7 +222,7 @@ export default Vue.extend({
|
|
|
}).catch(err => {
|
|
|
this.$notify({
|
|
|
title: '注册失败',
|
|
|
- message: '注册失败,请稍后重试。',
|
|
|
+ message: err,
|
|
|
type: 'error'
|
|
|
})
|
|
|
})
|