声明式:<router-link :to="..." tag="p"> 编程式: this.$router.push({path: '/home', replace: true}) router.replace(…) params形式:参数不显示在地址栏 this.$router.push({ name: 'details', params: