路由页面
菜单页面
//html
<el-breadcrumb separator=">">
<span class="crumbBox"></span>
<el-breadcrumb-item v-for="item in breadCrumbData" :key="item.path">
<router-link :to="item.path">{
{
item.title}}</router-link>
</el-breadcrumb-item>
</el-breadcrumb>
//方法
<script>
export default {
data() {
return {
breadCrumbData:[],//面包屑
};