我使用AngularJS ui-router,我有一个问题,我可以从menu1和menu2到达子菜单。 是否可以在任何地方突出显示 Menu1 或 Menu2 ?
Menu1: ng-class="{'active': vm.state.includes('auth.Menu1') || vm.state.includes('auth.SubMenu')}"
Menu2: ng-class="{'active': vm.state.includes('auth.Menu2') || vm.state.includes('auth.SubMenu')}"