本文转载自:
https://www.cnblogs.com/dongrenwen/p/6226246.html 作者:dongrenwen 转载请注明该声明。
vuejs取得URL中参数的值
地址:http://localhost:3333/#/index?id=001
结果:001
console.log(this.$route.query.id)