Authored by yyq

fix

... ... @@ -257,7 +257,13 @@ export default {
this.firstLoading = true;
this.fetchComments();
},
async onReply({commentId}) {
async onReply({destId, parentId}) {
const commentId = parentId || destId;
if (!commentId) {
return;
}
const result = await this.fetchReplayList({
commentId
});
... ...
... ... @@ -108,6 +108,7 @@ export default {
this.$emit('on-comment', {
destId: this.destId,
parentId: this.rootId || void 0,
addType: this.addType,
columnType: this.columnType,
comment: {
... ...
... ... @@ -377,7 +377,7 @@ export default {
margin-top: -6px;
}
.detail-fixed-footer {
.article-detail-long .detail-fixed-footer {
width: 100%;
position: fixed;
bottom: 0;
... ...
... ... @@ -274,7 +274,7 @@ export default {
border-top: 1px solid #f0f0f0;
}
.detail-fixed-footer {
.article-detail-notes .detail-fixed-footer {
width: 100%;
position: fixed;
bottom: 0;
... ...