主界面修改及代理模块初始化

This commit is contained in:
zhongluofeng
2026-07-15 18:22:07 +08:00
parent 29a5f456cb
commit fb361aff9a
39 changed files with 4768 additions and 396 deletions
+22
View File
@@ -0,0 +1,22 @@
import type { ModuleConfig } from '@/types/module'
import type { SearchIndexItem } from '@/stores/searchIndex'
const searchItems: SearchIndexItem[] = [
{
title: '截图工具',
description: '捕获屏幕截图',
keywords: ['截图', '屏幕', 'screenshot', 'capture']
}
]
export const moduleConfig: ModuleConfig = {
id: 'screenshot',
name: '截图',
icon: 'screenshot',
description: '区域截图、窗口截图与图片编辑',
category: 'media',
defaultEnabled: true,
loader: () => import('./ScreenshotModule.vue'),
searchItems,
order: 30
}