Skip to content

Commit

Permalink
docs: navigateTo
Browse files Browse the repository at this point in the history
  • Loading branch information
dcloudhdx committed Aug 22, 2020
1 parent d9bd698 commit 29f94fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default {
```

```
// 2.8.9+ 支持
uni.navigateTo({
url: 'pages/test?id=1',
events: {
Expand All @@ -64,6 +65,7 @@ uni.navigateTo({
```

```
// 2.8.9+ 支持
// test.js
onLoad: function(option) {
console.log(option.query)
Expand Down

0 comments on commit 29f94fa

Please sign in to comment.