赛事定到@/views/competition/Competition.vue了
This commit is contained in:
parent
1175524448
commit
874e2fc4dc
@ -57,29 +57,35 @@ const routes = [
|
|||||||
component: () => import('@/views/index/ConfigEditor.vue'),
|
component: () => import('@/views/index/ConfigEditor.vue'),
|
||||||
meta: { requiresAuth: true, requiredPrivilege: ['lv-admin','lv-mod'] }
|
meta: { requiresAuth: true, requiredPrivilege: ['lv-admin','lv-mod'] }
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// path: 'competition',
|
||||||
|
// name: 'Competition',
|
||||||
|
// component: () => import('@/views/index/Competition.vue'),
|
||||||
|
// // meta: { requiresAuth: true, requiredPrivilege: ['lv-admin','lv-competitor'] }
|
||||||
|
// meta: { requiresAuth: true}
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'competition/add',
|
||||||
|
// name: 'AddCompetition',
|
||||||
|
// component: () => import('@/views/index/AddContestant.vue'),
|
||||||
|
// meta: { requiresAuth: true }
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'competition/detail',
|
||||||
|
// name: 'CompetitionDetail',
|
||||||
|
// component: () => import('@/views/index/CompetitionDetail.vue'),
|
||||||
|
// meta: { requiresAuth: true }
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'competition/signup',
|
||||||
|
// name: 'CompetitionSignUp',
|
||||||
|
// component: () => import('@/views/index/CompetitionSignUp.vue'),
|
||||||
|
// meta: { requiresAuth: true }
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
path: 'competition',
|
path: 'competition',
|
||||||
name: 'Competition',
|
name: 'Competition',
|
||||||
component: () => import('@/views/index/Competition.vue'),
|
component: () => import('@/views/competition/Competition.vue'),
|
||||||
// meta: { requiresAuth: true, requiredPrivilege: ['lv-admin','lv-competitor'] }
|
|
||||||
meta: { requiresAuth: true}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'competition/add',
|
|
||||||
name: 'AddCompetition',
|
|
||||||
component: () => import('@/views/index/AddContestant.vue'),
|
|
||||||
meta: { requiresAuth: true }
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'competition/detail',
|
|
||||||
name: 'CompetitionDetail',
|
|
||||||
component: () => import('@/views/index/CompetitionDetail.vue'),
|
|
||||||
meta: { requiresAuth: true }
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'competition/signup',
|
|
||||||
name: 'CompetitionSignUp',
|
|
||||||
component: () => import('@/views/index/CompetitionSignUp.vue'),
|
|
||||||
meta: { requiresAuth: true}
|
meta: { requiresAuth: true}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
11
src/views/competition/Competition.vue
Normal file
11
src/views/competition/Competition.vue
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
@ -359,13 +359,13 @@ function handlePasswordChangeError(errorMessage) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 赛事信息 一级菜单 -->
|
<!-- 赛事信息 一级菜单 -->
|
||||||
<!-- <div class="nav-dropdown">-->
|
<div class="nav-dropdown">
|
||||||
<!-- <span class="nav-link">赛事信息</span>-->
|
<span class="nav-link">赛事信息</span>
|
||||||
<!-- <div class="dropdown-content">-->
|
<div class="dropdown-content">
|
||||||
<!-- <!– <router-link to="/competition" class="nav-link" @click.prevent="handleNavClick('/competition', ['lv-admin','lv-competitor'])">赛程信息</router-link>–>-->
|
<!-- <router-link to="/competition" class="nav-link" @click.prevent="handleNavClick('/competition', ['lv-admin','lv-competitor'])">赛程信息</router-link>-->
|
||||||
<!-- <router-link to="/competition" class="nav-link" @click.prevent="handleNavClick('/competition')">赛程信息</router-link>-->
|
<router-link to="competition" class="nav-link" @click.prevent="handleNavClick('/competition')">赛程信息</router-link>
|
||||||
<!-- </div>-->
|
</div>
|
||||||
<!-- </div>-->
|
</div>
|
||||||
|
|
||||||
<!-- 公共信息区 一级菜单 -->
|
<!-- 公共信息区 一级菜单 -->
|
||||||
<div class="nav-dropdown">
|
<div class="nav-dropdown">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user