浅析vue-router中params和query的区别 1.引入方式不同query要用path来引入this.$router.push({path:'test',query:{type:2,detail:'哈哈'}})params要用n vue中的params和query