mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-18 03:33:40 +00:00
docs: 跟随物料规范,追加 ComponentSort 标识
This commit is contained in:
parent
e46d371dcd
commit
1a03a8c78e
@ -79,6 +79,24 @@ export interface AssetsJson {
|
|||||||
* @deprecated 最新版物料面板已不需要此描述
|
* @deprecated 最新版物料面板已不需要此描述
|
||||||
*/
|
*/
|
||||||
bizComponentList?: ComponentCategory[];
|
bizComponentList?: ComponentCategory[];
|
||||||
|
/**
|
||||||
|
* 用于描述组件面板中的 tab 和 category
|
||||||
|
*/
|
||||||
|
sort?: ComponentSort;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用于描述组件面板中的 tab 和 category
|
||||||
|
*/
|
||||||
|
export interface ComponentSort {
|
||||||
|
/**
|
||||||
|
* 用于描述组件面板的 tab 项及其排序,例如:["精选组件", "原子组件"]
|
||||||
|
*/
|
||||||
|
groupList?: string[];
|
||||||
|
/**
|
||||||
|
* 组件面板中同一个 tab 下的不同区间用 category 区分,category 的排序依照 categoryList 顺序排列;
|
||||||
|
*/
|
||||||
|
categoryList?: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user