|
@@ -68,7 +68,7 @@ export const constantRoutes = [{
|
|
name: 'Index',
|
|
name: 'Index',
|
|
meta: {
|
|
meta: {
|
|
title: '首页',
|
|
title: '首页',
|
|
- icon: 'dashboard',
|
|
|
|
|
|
+ icon: 'home',
|
|
affix: true
|
|
affix: true
|
|
}
|
|
}
|
|
}]
|
|
}]
|
|
@@ -182,7 +182,7 @@ export const dynamicRoutes = [{
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
// 设备管理
|
|
// 设备管理
|
|
- // 设备类型
|
|
|
|
|
|
+ // 设备列表
|
|
{
|
|
{
|
|
path: '/device',
|
|
path: '/device',
|
|
component: Layout,
|
|
component: Layout,
|
|
@@ -295,6 +295,7 @@ export const dynamicRoutes = [{
|
|
}
|
|
}
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
|
|
+ // 场景模式
|
|
{
|
|
{
|
|
path: "/music",
|
|
path: "/music",
|
|
component: Layout,
|
|
component: Layout,
|
|
@@ -359,6 +360,23 @@ export const dynamicRoutes = [{
|
|
activeMenu: '/project/projectList'
|
|
activeMenu: '/project/projectList'
|
|
}
|
|
}
|
|
}]
|
|
}]
|
|
|
|
+ },
|
|
|
|
+ // 智能手表
|
|
|
|
+ // 表盘管理
|
|
|
|
+ {
|
|
|
|
+ path: '/watch',
|
|
|
|
+ component: Layout,
|
|
|
|
+ hidden: true,
|
|
|
|
+ permissions: ['watch:list:list'],
|
|
|
|
+ children: [{
|
|
|
|
+ path: 'watchList/detail',
|
|
|
|
+ component: () => import('@/views/watch/list/detail'),
|
|
|
|
+ name: 'watchListDetail',
|
|
|
|
+ meta: {
|
|
|
|
+ title: `详情页`,
|
|
|
|
+ activeMenu: '/watch/watchList'
|
|
|
|
+ }
|
|
|
|
+ }]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
|