From f6298829272e9f5aa90323bbd422005313e55252 Mon Sep 17 00:00:00 2001 From: zyn Date: Mon, 17 Jul 2023 17:41:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E6=94=B9=E4=B8=BAhistory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 7299ca608..863051a93 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4466,7 +4466,7 @@ Router.prototype.push = function push (location) { const router = new Router({ routes, - mode: 'hash', // default: hash ,history + mode: 'history', // default: hash ,history scrollBehavior (to, from, savedPosition) { if (savedPosition) { return savedPosition