lixuliang
2024-08-29 669a325fc5cb1e9fcfdc2d2f8642763966338cd0
se-ui/src/components/Breadcrumb/index.vue
@@ -35,10 +35,12 @@
      const first = matched[0]
      if (!this.isDashboard(first)) {
        matched = [{ path: '/index', meta: { title: '首页' }}].concat(matched)
        // matched = [{ path: '/index', meta: { title: '首页' }}].concat(matched)
      }
      this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
    },
    isDashboard(route) {
      const name = route && route.name