mm_machine 1.6.7 → 1.6.8

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -326,7 +326,7 @@ Item.prototype.main = function(param1, param2) {
326
326
  */
327
327
  Item.prototype.run = function(method, ...params) {
328
328
  if (this.config.state && this[method]) {
329
- return this[method](params);
329
+ return this[method](...params);
330
330
  }
331
331
  };
332
332
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "description": "这是超级美眉框架机制构建辅助模块,用于快速构建一个机制",
5
5
  "main": "index.js",
6
6
  "scripts": {