fix: breadcrumbs slots
This commit is contained in:
parent
2e505f7606
commit
7cc57b770d
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ if (url[0] === "docs") {
|
||||||
breadcrumbs.push({
|
breadcrumbs.push({
|
||||||
text: `Docs (${version})`,
|
text: `Docs (${version})`,
|
||||||
href: linkPath,
|
href: linkPath,
|
||||||
|
slot: "",
|
||||||
});
|
});
|
||||||
url = url.slice(2);
|
url = url.slice(2);
|
||||||
}
|
}
|
||||||
|
|
@ -43,6 +44,7 @@ for (const segment of url) {
|
||||||
breadcrumbs.push({
|
breadcrumbs.push({
|
||||||
text: segment[0].toUpperCase() + segment.slice(1),
|
text: segment[0].toUpperCase() + segment.slice(1),
|
||||||
href: linkPath,
|
href: linkPath,
|
||||||
|
slot: "",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue