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

Method setConfig

packages/editor-core/src/config.ts:254–260  ·  view source on GitHub ↗

* 批量设值,set 的对象版本 * @param config

(config: { [key: string]: any })

Source from the content-addressed store, hash-verified

252 * @param config
253 */
254 setConfig(config: { [key: string]: any }) {
255 if (config) {
256 Object.keys(config).forEach((key) => {
257 this.set(key, config[key]);
258 });
259 }
260 }
261
262 /**
263 * if engineOptions.strictPluginMode === true, only accept propertied predefined in EngineOptions.

Callers 1

setEngineOptionsMethod · 0.95

Calls 2

setMethod · 0.95
forEachMethod · 0.65

Tested by

no test coverage detected