Commit e194d11d3a37eea6e4289d730d48a6e7fa5ede2f

Authored by fengtao
1 parent 6b83299b

fix:DEFECT-393 修复第三方登录后告警徽标不显示

@@ -127,11 +127,12 @@ export default { @@ -127,11 +127,12 @@ export default {
127 uni.showToast({ 127 uni.showToast({
128 title: '第三方账号登录成功~', 128 title: '第三方账号登录成功~',
129 icon: 'none' 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 })