router.js
{
path: '/updateVideo',
name: 'UpdateVideo',
component: UpdateVideo,
}
vue中
this.$router.push({ name: "UpdateVideo", params: { id: id } });//页面跳转
console.log("========" + this.$route.params.id); 获取参数