|
|
@@ -23,7 +23,7 @@ export const asyncRouterMap = [
|
|
|
path: '',
|
|
|
name: '菜谱列表',
|
|
|
component: () => import('@/views/recipe/index'),
|
|
|
- meta: { title: '菜谱列表', icon: 'dashboard' }
|
|
|
+ meta: { title: '菜谱列表', icon: 'recipe' }
|
|
|
},
|
|
|
{
|
|
|
path: ':id/food',
|
|
|
@@ -49,27 +49,27 @@ export const asyncRouterMap = [
|
|
|
path: '',
|
|
|
name: '食物列表',
|
|
|
component: () => import('@/views/food/index'),
|
|
|
- meta: { title: '食物列表', icon: 'dashboard' }
|
|
|
+ meta: { title: '食物列表', icon: 'food' }
|
|
|
},
|
|
|
{
|
|
|
path: 'create',
|
|
|
name: '食物创建',
|
|
|
component: () => import('@/views/food/create'),
|
|
|
- meta: { title: '食物创建', icon: 'dashboard' },
|
|
|
+ meta: { title: '食物创建', icon: 'food' },
|
|
|
hidden: true
|
|
|
},
|
|
|
{
|
|
|
path: 'edit/:id',
|
|
|
name: '食物编辑',
|
|
|
component: () => import('@/views/food/edit'),
|
|
|
- meta: { title: '食物编辑', icon: 'dashboard' },
|
|
|
+ meta: { title: '食物编辑', icon: 'food' },
|
|
|
hidden: true
|
|
|
},
|
|
|
{
|
|
|
path: ':id/nutrient',
|
|
|
name: '营养素关联',
|
|
|
component: () => import('@/views/food/nutrient'),
|
|
|
- meta: { title: '营养素关联', icon: 'dashboard' },
|
|
|
+ meta: { title: '营养素关联', icon: 'food' },
|
|
|
hidden: true
|
|
|
},
|
|
|
{
|
|
|
@@ -111,7 +111,7 @@ export const asyncRouterMap = [
|
|
|
path: '',
|
|
|
name: '营养素列表',
|
|
|
component: () => import('@/views/nutrient/index'),
|
|
|
- meta: { title: '营养素列表', icon: 'dashboard' }
|
|
|
+ meta: { title: '营养素列表', icon: 'nutrient' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -124,7 +124,7 @@ export const asyncRouterMap = [
|
|
|
path: '',
|
|
|
name: '单位列表',
|
|
|
component: () => import('@/views/unit/index'),
|
|
|
- meta: { title: '单位列表', icon: 'dashboard' }
|
|
|
+ meta: { title: '单位列表', icon: 'unit' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -138,7 +138,7 @@ export const asyncRouterMap = [
|
|
|
path: '',
|
|
|
name: '用户列表',
|
|
|
component: () => import('@/views/user/index'),
|
|
|
- meta: { title: '用户列表', icon: 'dashboard' }
|
|
|
+ meta: { title: '用户列表', icon: 'user' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -151,7 +151,7 @@ export const asyncRouterMap = [
|
|
|
path: '',
|
|
|
name: '营养素模板列表',
|
|
|
component: () => import('@/views/nutrientTemplate/index'),
|
|
|
- meta: { title: '营养素模板列表', icon: 'dashboard' }
|
|
|
+ meta: { title: '营养素模板列表', icon: 'template' }
|
|
|
},
|
|
|
{
|
|
|
path: ':id/detail',
|