付延余
2022-04-08 b76e7f30d9cf4258db4c2e4c77183edb10db0019
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
/**
 * 用户登录组件
 */
 
 
 
const user = {
    state: {
        menus: [
            {
                icon: "sound",
                index: "/index",
                title: "视频管理",
                subs: [
                    {
                        icon: "area-chart",
                        index: "index",
                        title: "Dashboard",
                    },
                ],
            },
            {
                icon: "setting",
                index: "/wechat",
                title: "系统",
                subs: [
                    {
                        icon: "setting",
                        index: "admin_user",
                        title: "帐号管理",
                    },
                ],
            }
        ]
    },
    mutations: {
        SET_MENUS: (state, action) => {
            // state.menus = !state.isCollapse
        },
    }
}
export default user;