vue-router3.x版本 路由传参

134 阅读1分钟

路由传参

方式一:

this.$router.push({
    name: 'ScheduleManage',
    params: row
})

方式二:

this.$router.push({
  path: '/executeDemand/scheduleManage',
  query:{ }
})