<divv-for="(item, index) in tab":class="{'nav_item': true, 'nav_active': tabNow === index}" @click="switchTab(index)">
{{item}}
</div>
...
...
@@ -24,7 +24,18 @@
</div>
<divclass="main_right">
<divclass="crumbs">
<spanclass="crumbs_list"v-for="(item, index) in Array.from(visitedViews)">{{item.name}}</span>
<divclass="y_flex_start">
<divclass="crumbs_list"v-for="(item, index) in Array.from(visitedViews)":class="isActive(item)?'crumbs_active':''"@contextmenu.prevent="openMenu(item,$event)">