mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-04 13:42:27 +08:00
Merge pull request #170 from soup-Lee/main
fix: 修复面包屑只有一个title的时候左边会多出一个空span的问题
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
<!-- 面包屑 -->
|
||||
<n-breadcrumb v-if="crumbsSetting.show">
|
||||
<template v-for="routeItem in breadcrumbList" :key="routeItem.name">
|
||||
<n-breadcrumb-item :separator="routeItem.children.length == 1 ? '' : '/' ">
|
||||
<n-breadcrumb-item v-if="routeItem.meta.title">
|
||||
<n-dropdown
|
||||
v-if="routeItem.children.length"
|
||||
:options="routeItem.children"
|
||||
|
||||
Reference in New Issue
Block a user