break----用return false;
continue --用return true;
code show as below:
Object.keys(flatMenuData).forEach((key) => {
if (item.routeName === this.$route.name && !rs.activeItem) {
//If the homepage does not display the left menu, the left menu will be blocked
if(this.inner_sideMenu.opt.notActiveIndex){
if(this.$route.name =='index'){
return true
}
}
}
}