MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / getExtraPropValue

Method getExtraPropValue

packages/shell/src/model/props.ts:76–78  ·  view source on GitHub ↗

* 获取指定 path 的属性模型实例值 * 注:导出时,不同于普通属性,该属性并不挂载在 props 之下,而是与 props 同级 * @param path 属性路径,支持 a / a.b / a.0 等格式 * @returns

(path: string)

Source from the content-addressed store, hash-verified

74 * @returns
75 */
76 getExtraPropValue(path: string): any {
77 return this.getExtraProp(path)?.getValue();
78 }
79
80 /**
81 * 设置指定 path 的属性模型实例值

Callers

nothing calls this directly

Calls 2

getExtraPropMethod · 0.95
getValueMethod · 0.65

Tested by

no test coverage detected