We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e9f107 commit 45e19b0Copy full SHA for 45e19b0
src/playground/pages/Home.tsx
@@ -40,7 +40,9 @@ const HomePage = () => {
40
<button onClick={() => setState(11111111)}>设置状态</button>
41
<br />
42
43
- <Navigator name='list'>前往列表页</Navigator>
+ <Navigator name='list' params={{ test: 'aaa' }}>
44
+ 前往列表页
45
+ </Navigator>
46
</div>
47
)
48
}
src/playground/pages/List.tsx
@@ -21,7 +21,10 @@ const ListPage = () => {
21
borderBottom: '1px solid #eee'
22
}}
23
onClick={() => {
24
- navigateTo({ url: '/detail?a=1&b=2' })
+ navigateTo({
25
+ url: '/detail?a=1&b=2',
26
+ params: { c: 3, d: 'false' }
27
+ })
28
29
>
30
{index} 点击进入详情页
0 commit comments