diff --git a/src/utils/utils.js b/src/utils/utils.js index 93fb54f4a0bcff5dcc04f3cd639f34f86aaa6fcc..cd37af42384b99cffdd01d41cd19bfefd32d61cf 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -141,10 +141,10 @@ export function getRoutes(path, routerData) { const renderRoutes = renderArr.map((item) => { const exact = !routes.some(route => route !== item && getRelation(route, item) === 1); return { + exact, ...routerData[`${path}${item}`], key: `${path}${item}`, path: `${path}${item}`, - exact, }; }); return renderRoutes;