vue 导航保持高亮
/**
* 页面刷新导航保持高亮
*/
menuList() {
let path = this.$route.matched[2].path
this.navList.forEach((e, i) => {
if (path.indexOf(e.query.path) != -1) {
this.navIndex = i
}
})
},

浙公网安备 33010602011771号