Showing
1 changed file
with
1 additions
and
1 deletions
@@ -124,7 +124,7 @@ class UserInfo extends Page { | @@ -124,7 +124,7 @@ class UserInfo extends Page { | ||
124 | userPic() { | 124 | userPic() { |
125 | if (yoho.isApp) { | 125 | if (yoho.isApp) { |
126 | yoho.ready(() => { | 126 | yoho.ready(() => { |
127 | - if (yoho.isYohoApp) { | 127 | + if (yoho.isYohoApp || yoho.isNowApp) { |
128 | yoho.invokeMethod('go.setAvatar', {}, (data) => { | 128 | yoho.invokeMethod('go.setAvatar', {}, (data) => { |
129 | if (data) { | 129 | if (data) { |
130 | let reg = /(\w*){mode}(.*){width}(.*){height}(.*)/g; | 130 | let reg = /(\w*){mode}(.*){width}(.*){height}(.*)/g; |
-
Please register or login to post a comment