下列应用push()方法实现导航的代码不正确的是( ) 。

发布于 2021-03-24 18:01:19
【单选题】
A this.$router.push({ path: 'home' })
B this.$router.push({ path: 'home', query: { id: '2' }})
C this.$router.push({ path: 'home', params: { id: '2' }})
D this.$router.push({ name: 'user', params: { userId: '1' }})

查看更多

关注者
0
被浏览
22
  • 体验AI问答!更聪明、超智能!
  • 一款基于GPT的超级AI助手,可以对话、创作、写文案!
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服