From 15473d4e94d1169214db02f04585c5f102b8c363 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Mon, 28 Nov 2022 11:44:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=20=E7=AC=AC=E4=B8=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 287070d..3176265 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -6,7 +6,7 @@ * @FilePath: /fe-stu/src/router/index.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ -import { createRouter, createWebHashHistory } from 'vue-router'; +import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router'; import routesConfig from './config'; // console.log('routesConfig', routesConfig) @@ -20,7 +20,7 @@ const routes = [ ] const router = createRouter({ - history: createWebHashHistory("/fe-student"), + history: createWebHistory("/fe-student"), routes })