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