lyh
6 天以前 c60e141e9b43be2eb5122eaa7da13bc0cf3848cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<template>
  <div>
    <el-breadcrumb separator="/">
      <el-breadcrumb-item v-for="(item,index) in realList" :to="item.path" :key="index">{{item}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>
<script type="text/javascript">
  export default {
    data() {
      return {
        realList: []
      }
    },
    methods: {
    },
    mounted() {
      this.realList = this.$route.meta.routeList;
      console.log(this.realList)
    }
  }
</script>
<style scoped lang="scss">
 
</style>