zs hace 1 año
padre
commit
372dc07532
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/components/Breadcrumb/index.vue

+ 2 - 2
src/components/Breadcrumb/index.vue

@@ -49,8 +49,8 @@ function isDashboard(route) {
 }
 
 function handleLink(item) {
-  const { redirect, path, children } = item
-  if (children && children.length > 0) return
+  const { redirect, path, meta } = item
+  if (meta.type == '0') return
   if (redirect) {
     router.push(redirect).catch((err) => {
       console.warn(err)