Explorar el Código

chore: cleanup

Sendya hace 5 años
padre
commit
7467155963
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      src/utils/routeConvert.js

+ 0 - 2
src/utils/routeConvert.js

@@ -16,11 +16,9 @@ export function convertRoutes (nodes) {
       if (!node.children || !node.children.length) continue
 
       node.children.forEach(child => {
-        console.log('child', child)
         // 转化相对路径
         if (child.path[0] !== '/' && !child.path.startsWith('http')) {
           child.path = node.path.replace(/(\w*)[/]*$/, `$1/${child.path}`)
-          console.log('child.path', child.path)
         }
       })