From dcc114a5794ad7d1ec6a2d6bfc3976d659c3d0d3 Mon Sep 17 00:00:00 2001 From: Anjaxs <942403648@qq.com> Date: Fri, 10 Sep 2021 15:53:09 +0800 Subject: [PATCH] fix #3 --- src/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 2f5962b..f801a90 100644 --- a/src/main.js +++ b/src/main.js @@ -21,7 +21,8 @@ const routes = [ ] const router = new VueRouter({ - routes + routes, + mode: 'history' }) new Vue({