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

Method setPropValue

packages/shell/src/model/node.ts:492–494  ·  view source on GitHub ↗

* 设置指定 path 的属性模型实例值 * @param path 属性路径,支持 a / a.b / a.0 等格式 * @param value 值 * @returns

(path: string, value: IPublicTypeCompositeValue)

Source from the content-addressed store, hash-verified

490 * @returns
491 */
492 setPropValue(path: string, value: IPublicTypeCompositeValue): void {
493 return this.getProp(path)?.setValue(value);
494 }
495
496 /**
497 * 设置指定 path 的属性模型实例值

Callers

nothing calls this directly

Calls 2

getPropMethod · 0.95
setValueMethod · 0.65

Tested by

no test coverage detected