Showing
1 changed file
with
6 additions
and
5 deletions
... | ... | @@ -127,11 +127,12 @@ export default { |
127 | 127 | uni.showToast({ |
128 | 128 | title: '第三方账号登录成功~', |
129 | 129 | icon: 'none' |
130 | - }); | |
131 | - this.saveUserInfo(); | |
132 | - this.getAlarmTotalData(); | |
133 | - uni.reLaunch({ | |
134 | - url: '../../pages/personal/personal' | |
130 | + }).then(async res => { | |
131 | + this.saveUserInfo(); | |
132 | + await this.getAlarmTotalData(); | |
133 | + uni.reLaunch({ | |
134 | + url: '/pages/personal/personal' | |
135 | + }); | |
135 | 136 | }); |
136 | 137 | } |
137 | 138 | }) | ... | ... |