Skip to content

Commit

Permalink
🚚 move /annotation to /
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidZhang73 committed Feb 26, 2022
1 parent 5ed88b4 commit f603639
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/Drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const menuList = [
{
icon: 'video_label',
label: 'Annotation',
path: '/annotation'
path: '/'
},
{
icon: 'settings',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/notfound/NotFound.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<router-link to="/annotation">
<router-link to="/">
<q-img
src="/img/404.svg"
style="max-width: 40%"
Expand Down
7 changes: 1 addition & 6 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@ import { createRouter, createWebHistory } from 'vue-router'
export default createRouter({
history: createWebHistory(),
routes: [
{
name: 'index',
path: '/',
redirect: '/annotation'
},
{
name: 'annotation',
path: '/annotation',
path: '/',
component: () => import('../pages/annotation/Annotation.vue')
},
{
Expand Down

0 comments on commit f603639

Please sign in to comment.