添加报表页面,更新用户管理和注册功能
This commit is contained in:
@@ -2,7 +2,7 @@ import { createRouter, createWebHashHistory } from 'vue-router'
|
||||
|
||||
import AdminLayout from '../layouts/AdminLayout.vue'
|
||||
|
||||
const PendingPage = () => import('../pages/PendingPage.vue')
|
||||
const ReportPage = () => import('../pages/ReportPage.vue')
|
||||
const UsersPage = () => import('../pages/UsersPage.vue')
|
||||
const FeedbacksPage = () => import('../pages/FeedbacksPage.vue')
|
||||
const StatsPage = () => import('../pages/StatsPage.vue')
|
||||
@@ -17,8 +17,9 @@ const routes = [
|
||||
path: '/',
|
||||
component: AdminLayout,
|
||||
children: [
|
||||
{ path: '', redirect: '/pending' },
|
||||
{ path: '/pending', name: 'pending', component: PendingPage },
|
||||
{ path: '', redirect: '/reports' },
|
||||
{ path: '/pending', redirect: '/reports' },
|
||||
{ path: '/reports', name: 'reports', component: ReportPage },
|
||||
{ path: '/users', name: 'users', component: UsersPage },
|
||||
{ path: '/feedbacks', name: 'feedbacks', component: FeedbacksPage },
|
||||
{ path: '/stats', name: 'stats', component: StatsPage },
|
||||
|
||||
Reference in New Issue
Block a user