There was an error while loading. Please reload this page.
1 parent 91e008d commit d5d39c3Copy full SHA for d5d39c3
docs/guides/basics/RouteConfiguration.md
@@ -106,7 +106,7 @@ URL | 组件
106
107
### 让 UI 从 URL 中解耦出来
108
109
-如果我们可以将 `/inbox` 从 `/inbox/messages/:id` 中去除,并且还能够让 `Message` 嵌套在 `App -> Inbox` 中渲染,那会非常赞。绝对路径可以让我们做到这一点。
+如果我们可以将 `/inbox` 从 `/inbox/messages/:id` 中去除,并且还能够让 `Message` 嵌套在 `App -> Inbox` 中渲染,那会非常赞。相对路径可以让我们做到这一点。
110
111
```js
112
render((
@@ -123,7 +123,7 @@ render((
123
), document.body)
124
```
125
126
-在多层嵌套路由中使用绝对路径的能力让我们对 URL 拥有绝对的掌控。我们无需在 URL 中添加更多的层级,从而可以使用更简洁的 URL。
+在多层嵌套路由中使用相对路径的能力让我们对 URL 拥有绝对的掌控。我们无需在 URL 中添加更多的层级,从而可以使用更简洁的 URL。
127
128
我们现在的 URL 对应关系如下:
129
0 commit comments