...
|
...
|
@@ -107,17 +107,19 @@ export default { |
|
|
}
|
|
|
}
|
|
|
|
|
|
if (!this.yoho.context.userHeadIco) {
|
|
|
this.$sdk.getUser().then(user => {
|
|
|
if (user && user.uid) {
|
|
|
this.fetchUserProfile();
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
|
|
this.scrollEvent = throttle(this.onDounceScroll.bind(this), throttleTime);
|
|
|
this.colWidthForTwo = Math.floor(this.$el.offsetWidth / 2);
|
|
|
this.setListMinHeight();
|
|
|
|
|
|
setTimeout(() => {
|
|
|
if (!this.yoho.context.userHeadIco) {
|
|
|
this.$sdk.getUser().then(user => {
|
|
|
if (user && user.uid) {
|
|
|
this.fetchUserProfile();
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}, 200);
|
|
|
},
|
|
|
computed: {
|
|
|
...mapYohoState(['yoho']),
|
...
|
...
|
|