From 16790f1046f11bf96b17b8ebc11111e6f4d3c483 Mon Sep 17 00:00:00 2001 From: ronger Date: Tue, 24 Aug 2021 22:34:57 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E7=99=BB=E9=99=86=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=9B=9E=E5=8E=9F=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/comment/main.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/common/comment/main.vue b/components/common/comment/main.vue index 2205a33..6f42d1e 100644 --- a/components/common/comment/main.vue +++ b/components/common/comment/main.vue @@ -333,9 +333,7 @@ }) }, gotoLogin() { - this.$router.push({ - name: 'login' - }) + this.$emit('gotoLogin'); }, // 取消回复 cancelCommentReply() {