...
|
...
|
@@ -160,6 +160,7 @@ export default { |
|
|
this.empty = true;
|
|
|
} else {
|
|
|
if (comments.length) {
|
|
|
this.empty = false;
|
|
|
this.$emit('on-page-change', {
|
|
|
page: result.data.page,
|
|
|
size: result.data.total
|
...
|
...
|
@@ -241,6 +242,7 @@ export default { |
|
|
},
|
|
|
async onComment() {
|
|
|
this.page = 1;
|
|
|
this.totalPage = 1;
|
|
|
this.$refs.scroll.scrollTo(0, 0, 200);
|
|
|
this.fetchComments();
|
|
|
this.$emit('on-comment', {destId: this.destId});
|
...
|
...
|
|