一、前端配置 该方法是elementui-admin默认使用的方法 { path: '/', component: Layout, redirect: '/dashboard', meta : { roles: ['admin',