...
|
...
|
@@ -42,7 +42,9 @@ export default { |
|
|
this.page = 1;
|
|
|
this.$refs.article.init();
|
|
|
|
|
|
if (this.$route.query.commentId) {
|
|
|
let commentId = parseInt(this.$route.query.commentId, 10);
|
|
|
|
|
|
if (commentId > 0) {
|
|
|
setTimeout(() => {
|
|
|
let articleState = this.articleStates[this.id] || {};
|
|
|
|
...
|
...
|
@@ -50,7 +52,7 @@ export default { |
|
|
articleId: this.id,
|
|
|
index: 0,
|
|
|
commentCount: articleState.commentCount,
|
|
|
commentId: +this.$route.query.commentId
|
|
|
commentId
|
|
|
});
|
|
|
}, 400);
|
|
|
}
|
...
|
...
|
@@ -100,4 +102,8 @@ export default { |
|
|
.article-page {
|
|
|
background-color: #f0f0f0;
|
|
|
}
|
|
|
|
|
|
/deep/ .cube-recycle-list-noMore {
|
|
|
display: none;
|
|
|
}
|
|
|
</style> |
...
|
...
|
|