diff --git a/pages/plugins/video/components/comment-info.vue b/pages/plugins/video/components/comment-info.vue index d57206b2..09a80e8d 100644 --- a/pages/plugins/video/components/comment-info.vue +++ b/pages/plugins/video/components/comment-info.vue @@ -24,10 +24,10 @@ - + {{ propComment.add_time }} - {{ propReplyContent }} + {{ propReplyContent }}({{ propComment.comments_count }}) diff --git a/pages/plugins/video/detail/detail.vue b/pages/plugins/video/detail/detail.vue index a2265b60..04363731 100644 --- a/pages/plugins/video/detail/detail.vue +++ b/pages/plugins/video/detail/detail.vue @@ -350,6 +350,10 @@ onShow() { this.init(); }, + onHide() { + // 清理所有视频资源 + this.cleanup_all_videos(); + }, mounted() { // #ifdef H5 // 添加全局点击事件监听