From 74344a2ec388b78fe906a22c31f8fdb77fc60b12 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 04 Mar 2022 15:55:59 +0800 Subject: [PATCH] 404页面优化,页面响应式变化适配 --- src/components/swichLabel/main6-comment.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/swichLabel/main6-comment.vue b/src/components/swichLabel/main6-comment.vue index 0f66a5b..b15b1f9 100644 --- a/src/components/swichLabel/main6-comment.vue +++ b/src/components/swichLabel/main6-comment.vue @@ -2,7 +2,7 @@ <div class="myFriend" style="min-height: 950px;"> <h1 style="text-align: center;">碎碎念</h1> - <comment></comment> + <comment ref="myComment"></comment> </div> </template> @@ -11,7 +11,10 @@ export default { components: { comment - } + }, + mounted() { + this.$refs.myComment.updateCommentList(null); + }, } </script> -- Gitblit v1.9.1