From 5e0bfc778b000697be60add5a1090e234f102eb6 Mon Sep 17 00:00:00 2001 From: RockYang Date: Mon, 17 Apr 2023 09:56:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20vue-router=20URL=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=20#=20=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/main.js b/web/src/main.js index 76e5b62..ffe052d 100644 --- a/web/src/main.js +++ b/web/src/main.js @@ -1,4 +1,4 @@ -import {createRouter, createWebHashHistory} from 'vue-router' +import {createRouter, createWebHistory} from 'vue-router' import {createApp} from 'vue' import ElementPlus from "element-plus" import "element-plus/dist/index.css" @@ -39,7 +39,7 @@ const routes = [ ] const router = createRouter({ - history: createWebHashHistory(), + history: createWebHistory(), routes: routes, })