Commit 6225aa6d authored by ws456999's avatar ws456999 Committed by ddcat1115

πŸ› fix inner exact cover custom exact bug (#1148)

parent 303c5e43
......@@ -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;
......
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