/** * Refresh the page navigation remains highlighted */ menuList() { let path = this.$route.matched[2].path this.navList.forEach((e, i) => { if (path.indexOf(e.query.path) != -1) { this.navIndex = i } }) },
/** * Refresh the page navigation remains highlighted */ menuList() { let path = this.$route.matched[2].path this.navList.forEach((e, i) => { if (path.indexOf(e.query.path) != -1) { this.navIndex = i } }) },