mounted(){
this.
currentRouterPath=
window.
location.
pathname;
},
watch: {
'$route' (
to,
from) {
consolg.log("当前路由路径",
this.
$route.
path);
}
}