Merge pull request #64 from chaoXxxxx/v2.0

fix: 修正tabs-views带参数时可高亮
This commit is contained in:
孟帅 2023-11-07 14:03:19 +08:00 committed by GitHub
commit 377bd22749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@
<div
:id="`tag${element.fullPath.split('/').join('\/')}`"
class="tabs-card-scroll-item"
:class="{ 'active-item': activeKey === element.path }"
:class="{ 'active-item': activeKey === element.fullPath }"
@click.stop="goPage(element)"
@contextmenu="handleContextMenu($event, element)"
>