From 6666baef7a5cf43c036eb3b5ee96b45a860a86b3 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Thu, 23 Dec 2021 15:16:34 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E4=B8=BAhash=E6=A8=A1=E5=BC=8F=EF=BC=9B=E5=9B=A0?= =?UTF-8?q?=E4=B8=BANginx=E9=85=8D=E7=BD=AE=E4=B8=8D=E5=8F=AF=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routers/index.js b/src/routers/index.js index 262b209..141095c 100644 --- a/src/routers/index.js +++ b/src/routers/index.js @@ -1,4 +1,4 @@ -import { createRouter, createWebHistory } from 'vue-router'; +import { createRouter, createWebHashHistory } from 'vue-router'; // θΏ˜ζœ‰ createWebHashHistory ε’Œ createMemoryHistory export const routes = [ @@ -8,7 +8,7 @@ export const routes = [ ]; const router = createRouter({ - history: createWebHistory(), + history: createWebHashHistory(), routes: [ { path: '/',