Merge pull request #167 from soup-Lee/main

fix: 修复顶级路由中面包屑多了一个‘/’的问题
This commit is contained in:
Ah jung
2022-08-17 18:01:21 +08:00
committed by GitHub

View File

@@ -43,7 +43,7 @@
<!-- 面包屑 -->
<n-breadcrumb v-if="crumbsSetting.show">
<template v-for="routeItem in breadcrumbList" :key="routeItem.name">
<n-breadcrumb-item>
<n-breadcrumb-item :separator="routeItem.children.length == 1 ? '' : '/' ">
<n-dropdown
v-if="routeItem.children.length"
:options="routeItem.children"