Merge branch 'master' of http://git.luyuan.tk/luyuan/beelink into xbx

This commit is contained in:
2020-09-29 15:59:45 +08:00
25 changed files with 1813 additions and 84 deletions

View File

@@ -1,4 +1,5 @@
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import Login from "../views/login/Login.vue"
const routes: Array<RouteRecordRaw> = [
{
@@ -7,8 +8,19 @@ const routes: Array<RouteRecordRaw> = [
component: () => import("../layout/Mine.vue"),
children: [
{
path:"Archives",
path:"archives",
name: "Archives",
component: () => import("../views/mine/Archives.vue")
},
{
path:"webcast",
name: "Webcast",
component: () => import("../views/mine/ReleaseWebcast.vue")
},
{
path:"video",
name: "Video",
component: () => import("../views/mine/ReleaseVideo.vue")
}
]
},
@@ -33,17 +45,24 @@ const routes: Array<RouteRecordRaw> = [
component: () => import(/* webpackChunkName: "about" */ '../components/NavTop.vue')
},
{
path: '/about',
name: 'About',
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
path: '/login',
name: 'Login',
component:Login
},
{
path: '/archives',
name: 'Archives',
component: () => import('../views/mine/Archives.vue')
path: '/sign',
name: 'Sign',
component: () => import('../views/login/Sign.vue')
},
{
path: '/reset',
name: 'Reset',
component: () => import('../views/login/Reset.vue')
},
{
path: '/about',
name: 'About',
component: () => import('../views/login/About.vue')
},
]