Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/alibaba/lowcode-engine
/ getCurrentDocument
Method
getCurrentDocument
packages/shell/src/api/project.ts:157–159 ·
view source on GitHub ↗
* 获取当前的 document * @returns
()
Source
from the content-addressed store, hash-verified
155
* @returns
156
*/
157
getCurrentDocument(): IPublicModelDocumentModel | null {
158
return
ShellDocumentModel.create(this[projectSymbol].currentDocument);
159
}
160
161
/**
162
* 增加一个属性的管道处理函数
Callers
1
currentDocument
Method · 0.95
Calls
1
create
Method · 0.45
Tested by
no test coverage detected