|
@@ -378,10 +378,8 @@ export default { |
|
@@ -378,10 +378,8 @@ export default { |
378
|
this.$refs.footer.onPraise();
|
378
|
this.$refs.footer.onPraise();
|
379
|
},
|
379
|
},
|
380
|
onComment() {
|
380
|
onComment() {
|
381
|
- if (this.articleState.commentCount) {
|
|
|
382
|
this.$refs.detailLong && this.$refs.detailLong.onComment();
|
381
|
this.$refs.detailLong && this.$refs.detailLong.onComment();
|
383
|
this.$refs.detailNote && this.$refs.detailNote.onComment();
|
382
|
this.$refs.detailNote && this.$refs.detailNote.onComment();
|
384
|
- }
|
|
|
385
|
},
|
383
|
},
|
386
|
onCommentInput(comment) {
|
384
|
onCommentInput(comment) {
|
387
|
if (get(this.$refs, 'detailNote.onComment')) {
|
385
|
if (get(this.$refs, 'detailNote.onComment')) {
|