修复面包屑
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
</el-col>
|
||||
<el-col :xs="10" :lg="14" :md="14" :sm="9" :xl="14" :pull="1">
|
||||
<el-breadcrumb class="breadcrumb">
|
||||
|
||||
<el-breadcrumb-item
|
||||
v-for="item in matched.slice(1,matched.length)"
|
||||
:key="item.path"
|
||||
@@ -119,7 +120,6 @@ import { useRouterStore } from '@/pinia/modules/router'
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
const routerStore = useRouterStore()
|
||||
console.log(routerStore.keepAliveRouters)
|
||||
// 三种窗口适配
|
||||
const isCollapse = ref(false)
|
||||
const isSider = ref(true)
|
||||
@@ -186,7 +186,7 @@ const backgroundColor = computed(() => {
|
||||
}
|
||||
})
|
||||
|
||||
const matched = computed(() => route.matched)
|
||||
const matched = computed(() => route.meta.matched)
|
||||
|
||||
const changeUserAuth = async(id) => {
|
||||
const res = await setUserAuthority({
|
||||
|
||||
Reference in New Issue
Block a user