diff --git a/src/content/docs/zh-cn/guides/routing.mdx b/src/content/docs/zh-cn/guides/routing.mdx index 80643525519da..65f3e9b7f53ca 100644 --- a/src/content/docs/zh-cn/guides/routing.mdx +++ b/src/content/docs/zh-cn/guides/routing.mdx @@ -323,6 +323,8 @@ if (!isLoggedIn(cookie)) { --- ``` +由于 Astro 在按需渲染中使用 [HTML 流式传输](/zh-cn/guides/on-demand-rendering/#html-流式传输),重定向必须在页面级别完成,而不是在子组件中完成。 + ## 重写