Showing
1 changed file
with
3 additions
and
1 deletions
@@ -187,7 +187,9 @@ class UserInfo extends Page { | @@ -187,7 +187,9 @@ class UserInfo extends Page { | ||
187 | }).then(result => { | 187 | }).then(result => { |
188 | if (result && result.code === 200) { | 188 | if (result && result.code === 200) { |
189 | if (yoho && yoho.isApp) { | 189 | if (yoho && yoho.isApp) { |
190 | - yoho.invokeMethod('go.refreshUserInfomation'); | 190 | + yoho.ready(() => { |
191 | + yoho.invokeMethod('go.refreshUserInfomation'); | ||
192 | + }); | ||
191 | } | 193 | } |
192 | 194 | ||
193 | location.href = location.href; | 195 | location.href = location.href; |
-
Please register or login to post a comment