Полная зачистка legacy + закрытие fix24.1/fix24.2 + обновление логотипа
This commit is contained in:
@@ -29,7 +29,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/",
|
||||
component: Layout,
|
||||
redirect: "/info/account",
|
||||
redirect: "/dashboard/index",
|
||||
children: [
|
||||
{
|
||||
path: "401",
|
||||
@@ -47,41 +47,41 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||
|
||||
export const asyncRoutes: any[] = [
|
||||
{
|
||||
path: "/info",
|
||||
path: "/dashboard",
|
||||
component: "Layout",
|
||||
redirect: "/account",
|
||||
name: "Info",
|
||||
redirect: "/dashboard/index",
|
||||
name: "Dashboard",
|
||||
meta: {
|
||||
title: "info",
|
||||
icon: "user",
|
||||
roles: ["user", "admin"],
|
||||
title: "dashboard",
|
||||
icon: "dashboard",
|
||||
roles: ["admin"],
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "account",
|
||||
component: "info/account/index",
|
||||
name: "AccountInfo",
|
||||
path: "index",
|
||||
component: "dashboard/index",
|
||||
name: "DashboardIndex",
|
||||
meta: {
|
||||
title: "infoAccount",
|
||||
icon: "user",
|
||||
roles: ["user", "admin"],
|
||||
title: "dashboard",
|
||||
icon: "dashboard",
|
||||
roles: ["admin"],
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/account",
|
||||
path: "/peers",
|
||||
component: "Layout",
|
||||
redirect: "/list",
|
||||
name: "Account",
|
||||
meta: { title: "account", icon: "users", roles: ["admin"] },
|
||||
name: "Peer",
|
||||
meta: { title: "peer", icon: "users", roles: ["admin"] },
|
||||
children: [
|
||||
{
|
||||
path: "list",
|
||||
component: "account/list/index",
|
||||
name: "AccountList",
|
||||
component: "peer/list/index",
|
||||
name: "PeerList",
|
||||
meta: {
|
||||
title: "accountList",
|
||||
title: "peerList",
|
||||
icon: "users",
|
||||
roles: ["admin"],
|
||||
},
|
||||
@@ -132,25 +132,6 @@ export const asyncRoutes: any[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/monitor",
|
||||
component: "Layout",
|
||||
redirect: "/monitor",
|
||||
name: "Monitor",
|
||||
meta: { title: "monitor", icon: "report", roles: ["admin"] },
|
||||
children: [
|
||||
{
|
||||
path: "system",
|
||||
component: "monitor/system/index",
|
||||
name: "MonitorSystem",
|
||||
meta: {
|
||||
title: "monitorSystem",
|
||||
icon: "report",
|
||||
roles: ["admin"],
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/log",
|
||||
component: "Layout",
|
||||
@@ -201,5 +182,3 @@ export function resetRouter() {
|
||||
}
|
||||
|
||||
export default router;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user