修改刮削逻辑,添加保存元数据功能

修改刮削逻辑,添加保存元数据功能
This commit is contained in:
truewhile
2026-08-20 11:24:40 +08:00
parent 1dc9086bb4
commit d368353656
5 changed files with 224 additions and 2 deletions
+6 -2
View File
@@ -1,9 +1,11 @@
import type { LucideIcon } from 'lucide-react'
import {
Activity,
Cast,
Clock,
CloudDownload,
Compass,
FileText,
Globe,
HardDrive,
Heart,
@@ -71,21 +73,23 @@ export const LAYOUT_NAV_GROUPS: LayoutNavGroup[] = [
id: 'downloads',
label: '下载与订阅',
icon: CloudDownload,
activePaths: ['/downloads', '/download-clients', '/subscriptions', '/site-search', '/sites'],
activePaths: ['/downloads', '/download-clients', '/subscriptions', '/site-search', '/sites', '/tasks'],
items: [
{ to: '/downloads', label: '下载中心', icon: CloudDownload, permission: 'can_manage_downloads' },
{ to: '/subscriptions', label: '订阅管理', icon: Rss, permission: 'can_manage_subscriptions' },
{ to: '/sites', label: '站点管理', icon: Globe, permission: 'can_manage_sites' },
{ to: '/tasks', label: '实时任务', icon: Activity },
],
},
{
id: 'tools',
label: '文件与自动化',
icon: HardDrive,
activePaths: ['/storage', '/storage-config', '/files', '/strm', '/duplicates', '/tasks', '/scheduler', '/recycle', '/stats'],
activePaths: ['/storage', '/storage-config', '/files', '/strm', '/duplicates', '/scheduler', '/recycle', '/stats'],
adminOnly: true,
items: [
{ to: '/storage', label: '存储与文件', icon: HardDrive },
{ to: '/strm', label: 'STRM 管理', icon: FileText },
],
},
{