diff --git a/docs/.vitepress/src/@types/type-search.ts b/docs/.vitepress/src/@types/type-search.ts index 0d7f315f0f0adb6d7cbdefd1ee3de8cb590244af..443a703b460c4ff1e5f005e75d1abc2a8f5eadb2 100644 --- a/docs/.vitepress/src/@types/type-search.ts +++ b/docs/.vitepress/src/@types/type-search.ts @@ -3,6 +3,7 @@ import type { DocMenuNodeT } from '@/utils/tree'; export interface SearchRecommendT { key: string; count: number; + keyHtml: string; } // 文档搜索参数 diff --git a/docs/.vitepress/src/components/DocSearch.vue b/docs/.vitepress/src/components/DocSearch.vue index c54a05a460bdd5adceb32ceaf50a3bef9232564a..58944c6e4fefcae521d159d1f272ae993bc43079 100644 --- a/docs/.vitepress/src/components/DocSearch.vue +++ b/docs/.vitepress/src/components/DocSearch.vue @@ -1,12 +1,16 @@