增加log输出、跳转tab顺序

This commit is contained in:
super
2026-03-21 20:34:49 +08:00
parent 7f9a6bd9cb
commit c80e1889ef
2 changed files with 14 additions and 2 deletions

View File

@@ -7,7 +7,8 @@
<nav class="nav-tabs">
<span class="nav-tab-group">
<a v-for="item in navItems" :key="item.key" :href="item.href" class="nav-tab" :class="{ active: active === item.key }">
<a v-for="item in navItems" :key="item.key" :href="item.href" class="nav-tab"
:class="{ active: active === item.key }">
{{ item.label }}
</a>
</span>
@@ -27,8 +28,8 @@ const active = props.active
const navItems = [
{ key: 'brand', label: '品牌检测', href: '/brand' },
{ key: 'dedupe', label: '数据去重', href: '/new_web_source/dedupe.html' },
{ key: 'convert', label: '格式转换', href: '/new_web_source/convert.html' },
{ key: 'split', label: '数据拆分', href: '/new_web_source/split.html' },
{ key: 'convert', label: '格式转换', href: '/new_web_source/convert.html' },
] as const
</script>