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