...
|
...
|
@@ -45,7 +45,8 @@ export default { |
|
|
type: Number,
|
|
|
default: 1001
|
|
|
},
|
|
|
share: Boolean
|
|
|
share: Boolean,
|
|
|
hasComment: Boolean
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
...
|
...
|
@@ -68,7 +69,7 @@ export default { |
|
|
this.init();
|
|
|
},
|
|
|
computed: {
|
|
|
...mapYohoState(['yoho']),
|
|
|
...mapYohoState(['yoho'])
|
|
|
},
|
|
|
methods: {
|
|
|
...mapYohoActions(['fetchUserProfile']),
|
...
|
...
|
@@ -78,7 +79,7 @@ export default { |
|
|
this.page = 1;
|
|
|
this.showMore = false;
|
|
|
|
|
|
if (this.commentCount) {
|
|
|
if (this.hasComment || this.commentCount) {
|
|
|
this.onFetch();
|
|
|
}
|
|
|
},
|
...
|
...
|
|