1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
| import { type RouteVO } from "@/api/system/menu.api";
|
| const routes: RouteVO[] = [
| {
| path: "/device",
| component: "Layout",
| redirect: "/device/real",
| name: "/device",
| meta: {
| title: "设备管理",
| icon: "system",
| hidden: false,
| alwaysShow: false,
| },
| children: [
| {
| path: "real",
| component: "device/index",
| name: "DeviceReal",
| meta: {
| title: "设备实时管理",
| icon: "el-icon-User",
| hidden: false,
| keepAlive: true,
| alwaysShow: false,
| },
| },
| ],
| },
| {
| path: "/system",
| component: "Layout",
| redirect: "/system/user",
| name: "/system",
| meta: {
| title: "系统管理",
| icon: "system",
| hidden: false,
| alwaysShow: false,
| },
| children: [
| {
| path: "user",
| component: "system/user/index",
| name: "User",
| meta: {
| title: "用户管理",
| icon: "el-icon-User",
| hidden: false,
| keepAlive: true,
| alwaysShow: false,
| },
| },
| ],
| },
| ];
|
| export default routes;
|
|