-
zhangwei
2025-12-19 71ae6f580c5746a93aab3e3b26122491f4c93875
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
26
27
28
29
30
<template>
  <div class=" chuany-font14 chuany-marginbottom-20 chuany-flex chuany-justify-start chuany-align-center">
   <span>当前位置:</span> 
  <el-breadcrumb :separator-icon="ArrowRight">
    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item v-for="(item,index) in props.list" :key="index" :to="{ path: item.path }" v-show="item.path!='/'">{{item.name}}</el-breadcrumb-item>
 
  </el-breadcrumb>
  </div>
</template>
 
 
<script  setup>
import { ArrowRight } from '@element-plus/icons-vue'
const { $route, $message, $meth } = getCurrentInstance().appContext.config.globalProperties
import $store from "@/store/index.js";
import { logout } from '@/api/login.js';
 
const props = defineProps({
  list: {
    type:Array,
  },
 
})
const emit = defineEmits(["click"])
const currentchange=(el)=>{
  emit("click", el)
}
 
</script>