11
This commit is contained in:
@@ -13,7 +13,12 @@
|
||||
:class="{
|
||||
last: i === breadcrumbs.length - 1
|
||||
}"
|
||||
@click="() => router.push({ name: v.name })"
|
||||
@click="
|
||||
() => {
|
||||
const index = -(breadcrumbs.length - i - 1)
|
||||
if (index < 0) router.go(index)
|
||||
}
|
||||
"
|
||||
>{{ v.title }}</span
|
||||
>
|
||||
<span class="icon" v-show="i < breadcrumbs.length - 1">
|
||||
|
||||
Reference in New Issue
Block a user