From 97ca6fb2050a4f9a88994d5ba03a01d598ed88a8 Mon Sep 17 00:00:00 2001 From: zyzm <1534695664@qq.com> Date: Mon, 14 Nov 2022 15:18:47 +0800 Subject: [PATCH] =?UTF-8?q?route=E6=A8=A1=E5=BC=8F=E6=94=B9=E6=88=90hash?= 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 294c91c..2d97175 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -23,7 +23,7 @@ const routes = [ ] const router = new VueRouter({ - mode: 'history', + mode: 'hash', routes })