Commit e47d4b12 authored by qianjiacheng's avatar qianjiacheng Committed by 陈帅

消除eslint报错

parent cbf052c6
......@@ -11,7 +11,7 @@ const Authorized = RenderAuthorized(getAuthority());
export default ({ children, route, location }) => {
const routes = matchRoutes(route.routes, location.pathname);
let authorities = [];
const authorities = [];
routes.forEach(item => {
if (Array.isArray(item.route.authority) && item.route.authority.length) {
authorities.push(item.route.authority);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment