Authored by 张孝茹

now ios 头像

@@ -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;