feat: 为文档库添加文档类型显示功能
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m10s
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m10s
- 功能添加:在文档列表中,当未指定文档类型时,在标题右侧显示文档类型 - 查询更改:产品查询添加文档类型查询方法 - mapper更改:productDocumentView添加文档类型
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import type { DocumentTypeView } from './document-list-view';
|
||||
|
||||
/**
|
||||
* 产品图片视图模型
|
||||
* 用于产品详情页(/products/[slug])中的产品图片数据结构
|
||||
@ -73,6 +75,9 @@ export interface ProductDocumentView {
|
||||
/** 文档大小 **/
|
||||
size: number;
|
||||
|
||||
/** 文档类型 **/
|
||||
type: DocumentTypeView;
|
||||
|
||||
/** 文档链接 **/
|
||||
url: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user