提交bug修复 后台权限管理
This commit is contained in:
@@ -7,24 +7,15 @@
|
||||
|
||||
<nav class="nav-tabs">
|
||||
<div class="nav-tab-group">
|
||||
<div
|
||||
v-for="group in navGroups"
|
||||
:key="group.label"
|
||||
class="nav-dropdown"
|
||||
:class="{ active: group.items.some(item => item.key === active) }"
|
||||
>
|
||||
<div v-for="group in navGroups" :key="group.label" class="nav-dropdown"
|
||||
:class="{ active: group.items.some(item => item.key === active) }">
|
||||
<button type="button" class="nav-dropdown-trigger">
|
||||
<span>{{ group.label }}</span>
|
||||
<span class="nav-dropdown-arrow">▾</span>
|
||||
</button>
|
||||
<div class="nav-dropdown-menu">
|
||||
<a
|
||||
v-for="item in group.items"
|
||||
:key="item.key"
|
||||
:href="item.href"
|
||||
class="nav-dropdown-item"
|
||||
:class="{ active: active === item.key }"
|
||||
>
|
||||
<a v-for="item in group.items" :key="item.key" :href="item.href" class="nav-dropdown-item"
|
||||
:class="{ active: active === item.key }">
|
||||
{{ item.label }}
|
||||
</a>
|
||||
</div>
|
||||
@@ -58,7 +49,7 @@ const navGroups = [
|
||||
items: [
|
||||
{ key: 'delete-brand', label: '删除指定ASIN和品牌', href: '/new_web_source/delete-brand.html' },
|
||||
{ key: 'product-risk', label: '商品风险解决', href: '/new_web_source/product-risk.html' },
|
||||
{ key: 'shop-match', label: '匹配店铺', href: '/new_web_source/shop-match.html' },
|
||||
{ key: 'shop-match', label: '定时跟价匹配', href: '/new_web_source/shop-match.html' },
|
||||
],
|
||||
},
|
||||
] as const
|
||||
|
||||
Reference in New Issue
Block a user