Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yinqinghe committed Jan 12, 2025
1 parent 2f0606b commit 418747c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/router/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { createWebHashHistory, createRouter } from 'vue-router';
import MainCommand from '../views/HelloMike.vue'; // 直接引入组件
// 创建router实例对象,让他去管理我们对应的关系
// const router = new VueRouter({
// // vue-router 默认 hash 模式 当使⽤ history 模式时,URL 就像正常的 url。url去掉了#
Expand All @@ -22,7 +21,6 @@ const routes = [
path: '/',
redirect: '/attack/Reconnaissance' // 当访问根路径时,自动重定向到 /home
},
{ path: '/mike', component: () => MainCommand },
{
path: '/attack',
component: () => import('../views/MainPage'),
Expand Down

0 comments on commit 418747c

Please sign in to comment.