一、 无参数 this.$router.push({path: `/login`}); 二、带参拼接id实现跳转 this.$router.push({path: `/fContract/update/${this.user.userId}`}); // 跳转到createUser页面 toCreateUser(userId){ console.log(userId); this.$router.push({path:'/user/update/'+userId}); }, },