王士厅

直播详情页互动组件点赞组件点赞数据++

@@ -164,7 +164,7 @@ export struct LiveLikeComponent { @@ -164,7 +164,7 @@ export struct LiveLikeComponent {
164 this.LiveModel.getLiveRoomNumberLike(this.likeBean['contentId'], 1, HttpUtils.getDeviceId()).then((data) => { 164 this.LiveModel.getLiveRoomNumberLike(this.likeBean['contentId'], 1, HttpUtils.getDeviceId()).then((data) => {
165 165
166 console.log(TAG, '点赞接口调用成功', JSON.stringify(data)) 166 console.log(TAG, '点赞接口调用成功', JSON.stringify(data))
167 - this.likeCount = data 167 + this.likeCount++
168 168
169 }).catch(() => { 169 }).catch(() => {
170 }) 170 })