From 4a838b7a4c27fbfcd7a95f78c40d002798f8881b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=95=8A=E5=95=8A=E5=95=8A=E9=94=8B=E5=AD=90=E9=98=BF?= Date: Sat, 18 Feb 2023 18:51:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B7=AF=E7=94=B1=E6=8D=A2=E6=88=90has?= =?UTF-8?q?h=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 6dbe815..586b57c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,11 +1,10 @@ -import { createRouter, createWebHistory } from 'vue-router' +import { createRouter, createWebHashHistory } from 'vue-router' import Layout from '../views/Layout.vue' console.log('reouter') const router = createRouter({ - // @ts-ignore - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(), routes: [ { path: '/',