Authored by yyq

fix

@@ -257,7 +257,13 @@ export default { @@ -257,7 +257,13 @@ export default {
257 this.firstLoading = true; 257 this.firstLoading = true;
258 this.fetchComments(); 258 this.fetchComments();
259 }, 259 },
260 - async onReply({commentId}) { 260 + async onReply({destId, parentId}) {
  261 + const commentId = parentId || destId;
  262 +
  263 + if (!commentId) {
  264 + return;
  265 + }
  266 +
261 const result = await this.fetchReplayList({ 267 const result = await this.fetchReplayList({
262 commentId 268 commentId
263 }); 269 });
@@ -108,6 +108,7 @@ export default { @@ -108,6 +108,7 @@ export default {
108 108
109 this.$emit('on-comment', { 109 this.$emit('on-comment', {
110 destId: this.destId, 110 destId: this.destId,
  111 + parentId: this.rootId || void 0,
111 addType: this.addType, 112 addType: this.addType,
112 columnType: this.columnType, 113 columnType: this.columnType,
113 comment: { 114 comment: {
@@ -377,7 +377,7 @@ export default { @@ -377,7 +377,7 @@ export default {
377 margin-top: -6px; 377 margin-top: -6px;
378 } 378 }
379 379
380 -.detail-fixed-footer { 380 +.article-detail-long .detail-fixed-footer {
381 width: 100%; 381 width: 100%;
382 position: fixed; 382 position: fixed;
383 bottom: 0; 383 bottom: 0;
@@ -274,7 +274,7 @@ export default { @@ -274,7 +274,7 @@ export default {
274 border-top: 1px solid #f0f0f0; 274 border-top: 1px solid #f0f0f0;
275 } 275 }
276 276
277 -.detail-fixed-footer { 277 +.article-detail-notes .detail-fixed-footer {
278 width: 100%; 278 width: 100%;
279 position: fixed; 279 position: fixed;
280 bottom: 0; 280 bottom: 0;