web
4 天以前 92e4c0f5deeba69d52603da02bea2ab7836bb9f6
src/components/Breadcrumb/index.vue
@@ -20,7 +20,7 @@
  const first = matched[0]
  // 判断是否为首页
  if (!isDashboard(first)) {
    matched = [{ path: '/index', meta: { title: '首页' } }].concat(matched)
    matched = [{ path: '/', meta: { title: '首页' } }].concat(matched)
  }
  levelList.value = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
@@ -59,8 +59,11 @@
  margin-left: 8px;
  .no-redirect {
    color: #97a8be;
    color: #fff;
    cursor: text;
  }
    .el-breadcrumb__inner a{
        color: #fff;
    }
}
</style>