From 687a9b78b14a4ad8506e3578c471021dc122efa6 Mon Sep 17 00:00:00 2001 From: GL <954534408@qq.com> Date: Thu, 5 Nov 2020 10:48:09 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E9=80=80=E5=87=BA?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/person/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/person/index.vue b/src/views/person/index.vue index 57e4489..bdd6bed 100644 --- a/src/views/person/index.vue +++ b/src/views/person/index.vue @@ -91,8 +91,9 @@ export default { //回到首页清除路由记录 eliminate(){ this.selRouter(0) - this.$router.replace({ - path:'/' + this.$router.push({ + path:'/', + replace:true }) }, /**