这是后端返回的代码
这是我前端路由代码
{
path: '/projectStatis',//项目统计
component: Layout,
redirect: 'noredirect',
name: '合同管理',
icon: 'zujian',
meta: { role: ['contract'] }, //页面需要的权限 ["contract"]
children: [
{ path: 'projectHt', component: projectHt, name: '项目合同', icon: 'zonghe', },
]
},
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…