浏览器地址:
http://localhost:8080/qust
获取方式:
1)
this.$route.path
2)
window.location.href
3)
this.$route.params
结果如下:
jquery截取路径地址:
例如:http://localhost:8080/question/listOfOtherGroup
浏览器地址:
http://localhost:8080/qust
获取方式:
1)
this.$route.path
2)
window.location.href
3)
this.$route.params
结果如下:
jquery截取路径地址:
例如:http://localhost:8080/question/listOfOtherGroup