Skip to content

Commit 7467155

Browse files
committed
chore: cleanup
1 parent 34847f0 commit 7467155

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/utils/routeConvert.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ export function convertRoutes (nodes) {
1616
if (!node.children || !node.children.length) continue
1717

1818
node.children.forEach(child => {
19-
console.log('child', child)
2019
// 转化相对路径
2120
if (child.path[0] !== '/' && !child.path.startsWith('http')) {
2221
child.path = node.path.replace(/(\w*)[/]*$/, `$1/${child.path}`)
23-
console.log('child.path', child.path)
2422
}
2523
})
2624

0 commit comments

Comments
 (0)