feat: 调整导航菜单命名并优化忽略记录图标
CI / Backend tests (push) Canceled after 0s
CI / Frontend build (push) Canceled after 0s

- 概览改为缓存概览
- 检索改为我的缓存
- 已忽略的包改为忽略记录,图标由禁止标识换为记录清单
This commit is contained in:
yinjun.chen1
2026-09-21 10:12:44 +08:00
parent 20de3d350c
commit 6c6a319d70
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -15,11 +15,11 @@ const emit = defineEmits(['rescan'])
const menuOpen = ref(false)
const navs = [
{ path: '/', label: '概览', emo: '🏠' },
{ path: '/search', label: '检索', emo: '🔍' },
{ path: '/', label: '缓存概览', emo: '🏠' },
{ path: '/search', label: '我的缓存', emo: '🔍' },
{ path: '/thresholds', label: '阈值', emo: '⚙️' },
{ path: '/logs', label: '操作日志', emo: '🕒' },
{ path: '/ignored', label: '已忽略的包', emo: '🚫' },
{ path: '/ignored', label: '忽略记录', emo: '📋' },
]
function go(path) {
+3 -3
View File
@@ -10,11 +10,11 @@ const route = useRoute()
const router = useRouter()
const tabs = [
{ path: '/', label: '概览', emo: '🏠' },
{ path: '/search', label: '检索', emo: '🔍' },
{ path: '/', label: '缓存概览', emo: '🏠' },
{ path: '/search', label: '我的缓存', emo: '🔍' },
{ path: '/thresholds', label: '阈值', emo: '⚙️' },
{ path: '/logs', label: '操作日志', emo: '🕒' },
{ path: '/ignored', label: '已忽略', emo: '🚫' },
{ path: '/ignored', label: '忽略记录', emo: '📋' },
]
function go(path) {
+1 -1
View File
@@ -23,7 +23,7 @@ async function doUnignore(pkg) {
<template>
<div class="page-inner">
<div class="page-title"><span class="emo">🚫</span>已忽略的包</div>
<div class="page-title"><span class="emo">📋</span>忽略记录</div>
<div class="page-sub">共 <b>{{ ignoredList.length }}</b> 个已忽略包 · 移出后自动恢复状态判断</div>
<div v-if="state.loading" class="loading-tip">⏳ 加载中…</div>