fix: 收紧知识库页面交互状态
This commit is contained in:
@@ -27,8 +27,21 @@ export interface Category {
|
||||
remarks: string
|
||||
}
|
||||
|
||||
/** 公共分类树节点。 */
|
||||
export interface CategoryTreeNode extends Category {
|
||||
/** 公共分类树节点;详情字段需通过详情接口获取。 */
|
||||
export interface CategoryTreeNode {
|
||||
id: number
|
||||
name: string
|
||||
description: string
|
||||
type: 'general'
|
||||
icon: string
|
||||
color: string
|
||||
parent_id: number
|
||||
level: 1 | 2 | 3
|
||||
path: string
|
||||
sort_order: number
|
||||
status: CategoryStatus
|
||||
doc_count: number
|
||||
faq_count: number
|
||||
children: CategoryTreeNode[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user