主界面修改及代理模块初始化
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user