From 282035dce16f589c8838a445ae8eef38cad3377f Mon Sep 17 00:00:00 2001 From: liruifengv Date: Sun, 28 Sep 2025 20:48:33 +0800 Subject: [PATCH] i18n(zh-cn): Update `routing.mdx` --- src/content/docs/zh-cn/guides/routing.mdx | 2 ++ 1 file changed, 2 insertions(+) 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-流式传输),重定向必须在页面级别完成,而不是在子组件中完成。 + ## 重写