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

Method setPropValue

packages/shell/src/model/props.ts:86–88  ·  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

84 * @returns
85 */
86 setPropValue(path: string, value: IPublicTypeCompositeValue): void {
87 return this.getProp(path)?.setValue(value);
88 }
89
90 /**
91 * 设置指定 path 的属性模型实例值

Callers

nothing calls this directly

Calls 2

getPropMethod · 0.95
setValueMethod · 0.65

Tested by

no test coverage detected