feat: 更新版本号至0.0.9;优化搜索功能,新增topics字段支持

This commit is contained in:
xiongxiao
2026-03-25 11:31:02 +08:00
committed by cnb
parent 09fc199525
commit 2f426df210
2 changed files with 17 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ export const App = () => {
useEffect(() => {
refresh({ showTips: false })
}, [])
const appList = useMemo(() => {
const sortedList = [...list].sort((a, b) => {
const aActive = workspaceList.some(ws => ws.slug === a.path)
@@ -56,7 +56,7 @@ export const App = () => {
}
const fuse = new Fuse(filteredList, {
keys: ['name', 'path', 'description'],
keys: ['name', 'path', 'description', 'topics'],
threshold: 0.3,
includeScore: true
})