fix
13404089107
2025-03-04 013a3e3150348e9d9769a641f461631a93e03afb
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
import Layout from '@/layouts'
/**
 * icon
 * home: 首页
 * alarm: 报警
 * car: 车辆
 * company: 公司
 * complaint: 投诉
 * sys: 系统
 * order: 订单
 * 
 * hide: true, // 是否隐藏
 * 
 */
 
export default [
    {
        path: '/',
        component: () => import('@/view/login'),
    },
    {
        path: '/home',
        component: Layout,
        children: [
            {
                path: '/home',
                component: () => import('@/view/home'),
                title: '首页',
                icon: 'home'
            },
        ]
    },
    {
        path: '/early-warning',
        component: () => import('@/view/early-warning'),
        meta: {
            title: '报警记录',
            icon: 'home'
        }
    },
    {
        path: '/complaint',
        component: () => import('@/view/complaint/index'),
        meta: {
            title: '投诉记录'
        }
    } 
    
]