mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 03:22:32 +08:00
26 lines
470 B
Go
26 lines
470 B
Go
import type { RouteType } from '~/types/router'
|
|
|
|
const Layout = () => import('@/layout/IndexView.vue')
|
|
|
|
export default {
|
|
name: 'task',
|
|
path: '/task',
|
|
component: Layout,
|
|
meta: {
|
|
order: 80
|
|
},
|
|
children: [
|
|
{
|
|
name: 'task-index',
|
|
path: '',
|
|
component: () => import('./IndexView.vue'),
|
|
meta: {
|
|
title: '任务',
|
|
icon: 'mdi:timetable',
|
|
role: ['admin'],
|
|
requireAuth: true
|
|
}
|
|
}
|
|
]
|
|
} as RouteType
|