单项选择题

以下获取动态路由{ path: ’/user/:id’ }中id的值正确的是()。

A.this.$route.params.id
B.this.route.params.id
C.this.$router.params.id
D.this.router.params.id