From 3ffa64648831ceade32fba83047d0e99ff92c990 Mon Sep 17 00:00:00 2001
From: 张涛 <“2538313560@qq.com”>
Date: 星期一, 18 十一月 2024 14:06:00 +0800
Subject: [PATCH] fix:改动
---
src/router/index.ts | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/router/index.ts b/src/router/index.ts
index b1b97ac..194ea7b 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,4 +1,4 @@
-import { createRouter, createWebHistory,createWebHashHistory } from 'vue-router';
+import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router';
import NProgress from 'nprogress'; // progress bar
import 'nprogress/nprogress.css';
@@ -7,10 +7,10 @@
import createRouteGuard from './guard';
NProgress.configure({ showSpinner: false }); // NProgress Configuration
-
+console.log('appRoutes', appRoutes)
const router = createRouter({
- history: createWebHistory(),
- // history: createWebHashHistory(),
+ //history: createWebHistory(),
+ history: createWebHashHistory(),
routes: [
{
path: '/',
--
Gitblit v1.8.0