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() {