fix:其他评价的页面点击事件

feature/comment-0620-ch
ch 3 years ago
parent ac0fc976ed
commit 1d3fa277b2

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-06-21 16:01:19
* @LastEditors: ch
* @LastEditTime: 2022-06-24 11:14:52
* @LastEditTime: 2022-06-28 21:11:53
* @Description: file content
-->
<template>
@ -47,6 +47,10 @@ export default {
this.usefulCount = this.commentDetail.usefulCount;
}
},
mounted(){
this.isLike = this.commentDetail.isLike;
this.usefulCount = this.commentDetail.usefulCount;
},
methods:{
handleUseful(){
this.isLike = !this.isLike

Loading…
Cancel
Save