|
@@ -98,13 +98,10 @@ export default {
|
|
|
return this.$store.dispatch('getUserInfo');
|
|
return this.$store.dispatch('getUserInfo');
|
|
|
})
|
|
})
|
|
|
.then(() => {
|
|
.then(() => {
|
|
|
- this.$dialog
|
|
|
|
|
- .alert({
|
|
|
|
|
- title: '助力成功'
|
|
|
|
|
- })
|
|
|
|
|
- .then(() => {
|
|
|
|
|
- this.$router.replace('/home');
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ this.$toast.success('助力成功');
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ this.$router.replace('/home');
|
|
|
|
|
+ }, 1000);
|
|
|
})
|
|
})
|
|
|
.catch(e => {
|
|
.catch(e => {
|
|
|
if (e) {
|
|
if (e) {
|