vuex中获取当前路由

import router from '@/router'
 
console.log("当前路由的值时", router.app._route)
原文地址:https://www.cnblogs.com/huanhuan55/p/13637191.html