|
@@ -107,17 +107,19 @@ export default { |
|
@@ -107,17 +107,19 @@ export default { |
107
|
}
|
107
|
}
|
108
|
}
|
108
|
}
|
109
|
|
109
|
|
110
|
- if (!this.yoho.context.userHeadIco) {
|
|
|
111
|
- this.$sdk.getUser().then(user => {
|
|
|
112
|
- if (user && user.uid) {
|
|
|
113
|
- this.fetchUserProfile();
|
|
|
114
|
- }
|
|
|
115
|
- });
|
|
|
116
|
- }
|
|
|
117
|
-
|
|
|
118
|
this.scrollEvent = throttle(this.onDounceScroll.bind(this), throttleTime);
|
110
|
this.scrollEvent = throttle(this.onDounceScroll.bind(this), throttleTime);
|
119
|
this.colWidthForTwo = Math.floor(this.$el.offsetWidth / 2);
|
111
|
this.colWidthForTwo = Math.floor(this.$el.offsetWidth / 2);
|
120
|
this.setListMinHeight();
|
112
|
this.setListMinHeight();
|
|
|
113
|
+
|
|
|
114
|
+ setTimeout(() => {
|
|
|
115
|
+ if (!this.yoho.context.userHeadIco) {
|
|
|
116
|
+ this.$sdk.getUser().then(user => {
|
|
|
117
|
+ if (user && user.uid) {
|
|
|
118
|
+ this.fetchUserProfile();
|
|
|
119
|
+ }
|
|
|
120
|
+ });
|
|
|
121
|
+ }
|
|
|
122
|
+ }, 200);
|
121
|
},
|
123
|
},
|
122
|
computed: {
|
124
|
computed: {
|
123
|
...mapYohoState(['yoho']),
|
125
|
...mapYohoState(['yoho']),
|