* 批量设值,set 的对象版本 * @param config
(config: { [key: string]: any })
| 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. |
no test coverage detected