|
@@ -130,7 +130,9 @@ export default {
|
|
uni.$u.toast('登录成功');
|
|
uni.$u.toast('登录成功');
|
|
this.$store.commit('SET_ACCESS_TOKEN', res.access_token);
|
|
this.$store.commit('SET_ACCESS_TOKEN', res.access_token);
|
|
this.$store.commit('SET_REFRESH_TOKEN', res.refresh_token);
|
|
this.$store.commit('SET_REFRESH_TOKEN', res.refresh_token);
|
|
- this.$Router.pushTab('/pages/home/index');
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.$Router.pushTab('/pages/home/index');
|
|
|
|
+ }, 1500);
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.catch(err => {
|
|
.catch(err => {
|