From f3bb95d0ff798b88af227d6b0c1e1fdef597c944 Mon Sep 17 00:00:00 2001 From: x ronger Date: Mon, 14 Sep 2020 20:40:33 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E8=AF=84=E8=AE=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=9B=9E=E5=A4=8D=E8=80=85=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E7=A1=AE=E8=B7=B3=E8=BD=AC=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/comment/main.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/common/comment/main.vue b/components/common/comment/main.vue index 4ff79d3..1b0ee78 100644 --- a/components/common/comment/main.vue +++ b/components/common/comment/main.vue @@ -136,10 +136,7 @@ onRouter(name, data) { this.$router.push( { - name: name, - params: { - id: data - } + path: '/user/' + data } ) },