0.将页面放置在views\system\index\index
1.将ruoyi-ui\src\router\index.js下的将
{
path: '',
component: Layout,
redirect: 'index',
children: [
{
path: 'index',
component: () => import('@/views/system/index/index'),
name: 'Index',
meta: { title: '首页', icon: 'dashboard', affix: true }
}
]
},
放置到姓名里面
export const dynamicRoutes = []
3.配置首页
标签:index,菜单,views,component,system,---,首页 From: https://www.cnblogs.com/GKLBB/p/17469740.html