diff --git a/src/layouts/RootLayout.astro b/src/layouts/RootLayout.astro index 79cba83..e9c3794 100644 --- a/src/layouts/RootLayout.astro +++ b/src/layouts/RootLayout.astro @@ -9,7 +9,6 @@ import {Menu} from "../components/header/NavMenu" import ToolBox from "../components/ToolBox" import OwnerInfo from "../components/OwnerInfo" import {SvgDefs} from "../components/SvgIcons" -import {Init} from "../components/Init"; interface Props { lang?: string @@ -37,7 +36,6 @@ const {lang, title, description, subNavigationItems} = Astro.props -
diff --git a/src/pages/index.astro b/src/pages/index.astro index e5ea318..f632e69 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,9 +5,11 @@ import LineDecorator from "../components/LineDecorator" import ScrollTip from "../components/ScrollTip" import arknightsConfig from "../../arknights.config" import RootPageViews from "./_views/RootPageViews"; +import {Init} from "../components/Init"; --- +
{/* TODO: 使用 优化,完全服务端渲染