13693261870
2024-09-02 2671888e8977e3e84d29130f32f113bb8154d8e5
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