From 6225aa6d57b90c141ed9a1aeb43312aa1e5166f7 Mon Sep 17 00:00:00 2001 From: ws456999 Date: Fri, 23 Mar 2018 11:44:09 +0800 Subject: [PATCH] :bug: fix inner exact cover custom exact bug (#1148) --- src/utils/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.js b/src/utils/utils.js index 93fb54f4..cd37af42 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; -- GitLab