mm_machine 1.8.4 → 1.8.7

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 +9 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -92,8 +92,16 @@ class Item {
92
92
  */
93
93
  Item.prototype.set_config = function(config) {
94
94
  this.config = conf(Object.assign({}, this.config, config || {}), this.filename);
95
+ this.set_config_after();
95
96
  }
96
97
 
98
+ /**
99
+ * 设置配置后
100
+ */
101
+ Item.prototype.set_config_after = function() {
102
+
103
+ };
104
+
97
105
  /**
98
106
  * 加载完成时
99
107
  */
@@ -420,7 +428,7 @@ class Index {
420
428
  /**
421
429
  * 模式 0生产模式,1开发模式,2热重载模式
422
430
  */
423
- this.mode = 0;
431
+ this.mode = 2;
424
432
  }
425
433
  }
426
434
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "1.8.4",
3
+ "version": "1.8.7",
4
4
  "description": "这是超级美眉框架机制构建辅助模块,用于快速构建一个机制",
5
5
  "main": "index.js",
6
6
  "scripts": {