This commit is contained in:
clay
2022-01-22 00:57:57 +08:00
parent 2c4b597942
commit 72fbaed559
16 changed files with 267 additions and 217 deletions

View File

@@ -4,10 +4,15 @@ import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
//{
// path: '/',
// name: 'index',
// component: () => import(/* webpackChunkName: "about" */ '../views/index')
//},
{
path: '/',
path: '/home',
name: 'index',
component: () => import(/* webpackChunkName: "about" */ '../views/index')
component: () => import(/* webpackChunkName: "about" */ '../views/anchor')
},
{
path: '/sp',
@@ -39,11 +44,7 @@ const routes = [
name: 'TeachingStaff',
component: () => import(/* webpackChunkName: "about" */ '../views/Test')
},
{
path: '/anchor',
name: 'TeachingStaff',
component: () => import(/* webpackChunkName: "about" */ '../views/anchor')
},
{
path: '/et',
name: 'EduTeach',
@@ -64,6 +65,11 @@ const routes = [
name: 'content',
component: () => import(/* webpackChunkName: "about" */ '../views/content/index')
},
{
path: '*',
name: 'index',
component: () => import(/* webpackChunkName: "about" */ '../views/Test')
},
]
const router = new VueRouter({