mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-10 20:36:55 +08:00
fix video collect detail
This commit is contained in:
@@ -86,9 +86,14 @@ const routes: Array<RouteRecordRaw> = [
|
||||
},
|
||||
},
|
||||
manage,
|
||||
user,
|
||||
obs,
|
||||
open_live,
|
||||
{
|
||||
path: '/@:id',
|
||||
name: 'user',
|
||||
alias: '/user/:id',
|
||||
children: user,
|
||||
},
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
name: 'notfound',
|
||||
|
||||
@@ -80,7 +80,6 @@ export default //管理页面
|
||||
component: () => import('@/views/manage/VideoCollectDetailView.vue'),
|
||||
meta: {
|
||||
title: '详情 · 视频征集',
|
||||
keepAlive: true,
|
||||
parent: 'manage-videoCollect',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,62 +1,58 @@
|
||||
export default {
|
||||
path: '/user/:id',
|
||||
name: 'user',
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'user-index',
|
||||
component: () => import('@/views/view/UserIndexView.vue'),
|
||||
meta: {
|
||||
title: '主页',
|
||||
keepAlive: true,
|
||||
},
|
||||
export default [
|
||||
{
|
||||
path: '',
|
||||
name: 'user-index',
|
||||
component: () => import('@/views/view/UserIndexView.vue'),
|
||||
meta: {
|
||||
title: '主页',
|
||||
keepAlive: true,
|
||||
},
|
||||
{
|
||||
path: 'song-list',
|
||||
name: 'user-songList',
|
||||
component: () => import('@/views/view/SongListView.vue'),
|
||||
meta: {
|
||||
title: '歌单',
|
||||
keepAlive: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'song-list',
|
||||
name: 'user-songList',
|
||||
component: () => import('@/views/view/SongListView.vue'),
|
||||
meta: {
|
||||
title: '歌单',
|
||||
keepAlive: true,
|
||||
},
|
||||
{
|
||||
path: 'question-box',
|
||||
name: 'user-questionBox',
|
||||
component: () => import('@/views/view/QuestionBoxView.vue'),
|
||||
meta: {
|
||||
title: '提问箱',
|
||||
keepAlive: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'question-box',
|
||||
name: 'user-questionBox',
|
||||
component: () => import('@/views/view/QuestionBoxView.vue'),
|
||||
meta: {
|
||||
title: '提问箱',
|
||||
keepAlive: true,
|
||||
},
|
||||
{
|
||||
path: 'schedule',
|
||||
name: 'user-schedule',
|
||||
component: () => import('@/views/view/ScheduleView.vue'),
|
||||
meta: {
|
||||
title: '日程',
|
||||
keepAlive: true,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'ics',
|
||||
name: 'user-schedule-ics',
|
||||
component: () => import('@/views/view/ScheduleView.vue'),
|
||||
beforeEnter(to: any) {
|
||||
// 直接重定向到外部 URL
|
||||
window.location.href = 'https://vtsuru.live/api/schedule/get-ics?id=' + to.query.id
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'schedule',
|
||||
name: 'user-schedule',
|
||||
component: () => import('@/views/view/ScheduleView.vue'),
|
||||
meta: {
|
||||
title: '日程',
|
||||
keepAlive: true,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'ics',
|
||||
name: 'user-schedule-ics',
|
||||
component: () => import('@/views/view/ScheduleView.vue'),
|
||||
beforeEnter(to: any) {
|
||||
// 直接重定向到外部 URL
|
||||
window.location.href = 'https://vtsuru.live/api/schedule/get-ics?id=' + to.query.id
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'goods',
|
||||
name: 'user-goods',
|
||||
component: () => import('@/views/pointViews/PointGoodsView.vue'),
|
||||
meta: {
|
||||
title: '积分兑换',
|
||||
keepAlive: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'goods',
|
||||
name: 'user-goods',
|
||||
component: () => import('@/views/pointViews/PointGoodsView.vue'),
|
||||
meta: {
|
||||
title: '积分兑换',
|
||||
keepAlive: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user