mm_machine 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -245,10 +245,10 @@ Index.prototype.updateConfigHave = async function(dir) {
245
245
  // 使用find方法查找匹配项
246
246
  const targetConfig = config.find(cg => cg.name === o.config.name);
247
247
  if (targetConfig) {
248
- await o.exec('set_config', targetConfig);
248
+ await o.exec('setConfig', targetConfig);
249
249
  }
250
250
  } else {
251
- await o.exec('set_config', config);
251
+ await o.exec('setConfig', config);
252
252
  }
253
253
  }
254
254
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "这是超级美眉框架机制构建辅助模块,用于快速构建一个机制,支持动态加载、热更新、模块管理等功能,并具有增强的错误处理和现代JavaScript特性支持。",
5
5
  "main": "index.js",
6
6
  "scripts": {