We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d656a41 commit 67001b7Copy full SHA for 67001b7
1 file changed
react/router/README.md
@@ -96,7 +96,10 @@ ReactDOM.render(
96
document.getElementById('app')
97
)
98
```
99
-[效果预览](https://wscats.github.io/react-tutorial/react/router/index.html)
+
100
+### 效果预览
101
102
+- [路由DEMO](https://wscats.github.io/react-tutorial/react/router/index.html)
103
104
# 路由参数
105
* 路由的参数传递是通过 Route 组件的 path 属性来指定的。
@@ -178,7 +181,10 @@ ReactDOM.render(
178
181
* `this.props.params` 获取的参数为一个固定的对象: `{splat: [**, *]}`。
179
182
* 匹配 URL:/all3/a/001.jpg,参数为 `{splat: ['a', '001']}`。
180
183
* 匹配 URL:/all3/a/b/001.jpg,参数为 `{splat: ['a/b', '001']}`。
-[效果预览](https://wscats.github.io/react-tutorial/react/router/params.html)
184
185
186
187
+- [路由传参](https://wscats.github.io/react-tutorial/react/router/params.html)
188
189
# IndexRoute
190
当访问一个嵌套路由时,指定默认显示的组件
0 commit comments