This commit is contained in:
李志鹏
2026-04-09 17:17:52 +08:00
parent 5e1d43b5a0
commit 7fdd22fe63
15 changed files with 624 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
<div
v-for="v in list"
:key="v.path"
:class="{ active: v.path === activePath }"
:class="{ active: new RegExp(`^${v.path}`).test(activePath) }"
@click="handleClick(v.path)"
>
<div class="icon"><svg-icon :name="v.icon" size="20" /></div>