vue-router 跳转(url变化页面没变化,是因为少下面的)
route:{
data: function (transition) {
this.params = transition.to.params;
}
},
vue-router 跳转(url变化页面没变化,是因为少下面的)
route:{
data: function (transition) {
this.params = transition.to.params;
}
},