1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-16 02:34:45 +08:00

86 lines
2.7 KiB
Go
Raw Normal View History

2022-09-15 10:44:43 +08:00
import { Layout } from '@/routers/constant';
const settingRouter = {
sort: 9,
2022-09-15 10:44:43 +08:00
path: '/settings',
component: Layout,
redirect: '/settings/panel',
2022-09-15 10:44:43 +08:00
meta: {
title: 'menu.settings',
icon: 'p-config',
2022-09-15 10:44:43 +08:00
},
children: [
{
path: '/settings',
name: 'Setting',
redirect: '/settings/panel',
component: () => import('@/views/setting/index.vue'),
meta: {},
children: [
{
path: 'panel',
name: 'Panel',
component: () => import('@/views/setting/panel/index.vue'),
hidden: true,
meta: {
requiresAuth: true,
activeMenu: 'Setting',
},
},
{
path: 'backupaccount',
name: 'BackupAccount',
component: () => import('@/views/setting/backup-account/index.vue'),
hidden: true,
meta: {
requiresAuth: true,
activeMenu: 'Setting',
},
},
{
path: 'about',
name: 'About',
component: () => import('@/views/setting/about/index.vue'),
hidden: true,
meta: {
requiresAuth: true,
activeMenu: 'Setting',
},
},
{
path: 'safe',
name: 'Safe',
component: () => import('@/views/setting/safe/index.vue'),
hidden: true,
meta: {
requiresAuth: true,
activeMenu: 'Setting',
},
},
{
path: 'snapshot',
name: 'Snapshot',
hidden: true,
component: () => import('@/views/setting/snapshot/index.vue'),
meta: {
requiresAuth: true,
activeMenu: 'Setting',
},
},
{
path: 'expired',
name: 'Expired',
hidden: true,
component: () => import('@/views/setting/expired.vue'),
meta: {
requiresAuth: true,
activeMenu: 'Expired',
},
},
],
},
2022-09-15 10:44:43 +08:00
],
};
export default settingRouter;