Home > LIB_Cbb > openProjectInEditor
LIB_Cbb.openProjectInEditor() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
在编辑器打开复用模块工程
Signature
typescript
openProjectInEditor(cbbUuid: string, libraryUuid: string): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
cbbUuid | string | 复用模块 UUID |
libraryUuid | string | 库 UUID,可以使用 LIB_LibrariesList 内的接口获取 |
Returns
Promise<boolean>
Remarks
本操作将会在 EDA 前端打开模块工程,如若原先已打开其它工程且有未保存的变更,执行本操作将直接丢失所有未保存的数据