fix: 收紧知识库页面交互状态

This commit is contained in:
zxr
2026-07-22 04:01:25 +08:00
parent 98e1baf1bb
commit f5c7ebc59c
6 changed files with 400 additions and 93 deletions

View File

@@ -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[]
}