Skip to content

Commit 2faf609

Browse files
i18n(zh-cn): Update routing.mdx (#12458)
Co-authored-by: Yan <[email protected]>
1 parent 65a0b37 commit 2faf609

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/zh-cn/guides/routing.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ if (!isLoggedIn(cookie)) {
323323
---
324324
```
325325

326+
由于 Astro 在按需渲染中使用 [HTML 流式传输](/zh-cn/guides/on-demand-rendering/#html-流式传输),重定向必须在页面级别完成,而不是在子组件中完成。
327+
326328
## 重写
327329

328330
<p><Since v="4.13.0" /></p>

0 commit comments

Comments
 (0)