From 271f768b4766f70160de6272247d183e33f21de1 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期四, 22 九月 2022 16:00:22 +0800
Subject: [PATCH] up
---
src/router/index.ts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/router/index.ts b/src/router/index.ts
index a08d7d6..386fc58 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,15 +1,16 @@
import {
- createRouter, createWebHashHistory, RouteRecordRaw,
+ createRouter, createWebHistory, RouteRecordRaw,
} from 'vue-router'
import { cancelRequest } from '@/utils/axios'
const routes: Array<RouteRecordRaw> = [
{ path: '/', name: 'Home', component: () => import('views/home/index.vue')},
+ { path: '/my', name: 'myMine', component: () => import('views/myMine/index.vue')},
{ path: '/test', name: 'Test', component: () => import('views/test.vue')}
]
const router = createRouter({
- history: createWebHashHistory(),
+ history: createWebHistory(),
routes,
})
--
Gitblit v1.8.0