|
@@ -16,7 +16,7 @@ const { localeIndex } = useData();
|
|
|
const router = useRouter();
|
|
|
const withLink = (href: string) => {
|
|
|
return withBase(
|
|
|
- path.join(localeIndex.value === "root" ? "" : localeIndex.value, "docs", href)
|
|
|
+ path.join('/', localeIndex.value === "root" ? "" : localeIndex.value, "docs", href)
|
|
|
);
|
|
|
};
|
|
|
</script>
|
|
@@ -98,7 +98,7 @@ const withLink = (href: string) => {
|
|
|
</HomeCard>
|
|
|
</HomeCardContent>
|
|
|
<HomeCardContent :span="8">
|
|
|
- <HomeCard color="white" :link="withLink('TODO1')">
|
|
|
+ <HomeCard color="white" :link="withLink('课程授课#课程实施')">
|
|
|
<template #title>
|
|
|
<HomeCard.Title>
|
|
|
<IconBook color="#FF822B" />
|