this.$route.fullpath
通过绑定一个fullPath,可以识别当前页面路由的完整地址,当地址发生改变(包括参数改变)则重新渲染页面(例如动态路由参数的变化)
一个地址:http://xxx/#/console/orderManage/editOrder?id=xxx
path 是:/console/orderManage/editOrder
fullPath 是:/console/orderManage/editOrder?id=xxx
this.$route.fullpath
通过绑定一个fullPath,可以识别当前页面路由的完整地址,当地址发生改变(包括参数改变)则重新渲染页面(例如动态路由参数的变化)
一个地址:http://xxx/#/console/orderManage/editOrder?id=xxx
path 是:/console/orderManage/editOrder
fullPath 是:/console/orderManage/editOrder?id=xxx