fix: 修正搜索页面文档路由跳转逻辑
- 点击文档条目时,跳转到对应的download路由 - 修改搜索条目转换逻辑,将product_documents类型条目的id有product_document的id改为文件uuid
This commit is contained in:
@ -73,6 +73,9 @@ export interface MeiliProductDocumentIndex {
|
||||
|
||||
/** 相关产品类型 **/
|
||||
product_types: string[];
|
||||
|
||||
/** 文件UUID **/
|
||||
fileUUID: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import type { SearchResponse } from 'meilisearch';
|
||||
import type { MeiliSearchItemType } from './meili-index';
|
||||
|
||||
/**
|
||||
* 原始搜索分段结果
|
||||
|
||||
Reference in New Issue
Block a user