You can use v-if to check which route you're in and add class if $route.name is somewhere <ul class="nav nav-second-level"> <li v-for="item ...
確定! 回上一頁