移除分类图片

This commit is contained in:
liu
2026-08-14 16:31:18 +08:00
parent f0927e57e9
commit 969eabcd11
11 changed files with 288 additions and 130 deletions
+4 -5
View File
@@ -1,5 +1,3 @@
import type {ISysFileInfo} from "@/domain/iSysFile.ts";
/** 商品分类(多级,children 由后端组装) */
export default interface IProductCategory {
id?: number;
@@ -7,9 +5,6 @@ export default interface IProductCategory {
name?: string;
sort?: number;
status?: number;
icon_id?: number;
icon?: ISysFileInfo;
icon_url?: string;
children?: IProductCategory[];
created_at?: string;
}
@@ -19,6 +14,10 @@ export interface IProductCategoryTree {
id?: number;
parent_id?: number;
name?: string;
/** TreeSelect 节点禁选标记(前端组装:父分类/超层级节点不可选) */
disabled?: boolean;
/** Tree 节点不可选中标记(前端组装:侧栏父分类仅供展开) */
selectable?: boolean;
children?: IProductCategoryTree[];
}