Skip to content

Commit

Permalink
router
Browse files Browse the repository at this point in the history
Signed-off-by: zhoubichuan <[email protected]>
  • Loading branch information
zhoubichuan authored and gitee-org committed Aug 29, 2024
1 parent 11534c7 commit 7021d89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/base/vue2.x/3.vue-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,7 @@ this.$route.query.id
- 方案一和三参数拼接在后面,丑,而且暴露了信息
<!-- <Vssue /> -->
```
const { href } = this.$router.resolve({ name: 'UserProfile', params: { userId: 123 } });
```

0 comments on commit 7021d89

Please sign in to comment.