mm_machine 1.8.0 → 1.8.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
@@ -359,7 +359,7 @@ Item.prototype.run = async function(method, ...params) {
359
359
  * @param {Array} ...params 参数集合
360
360
  */
361
361
  Item.prototype.run_cmd = async function(state, ...params) {
362
- return null;
362
+ return this.run('cmd', state, ...param);
363
363
  };
364
364
 
365
365
  /**
@@ -368,7 +368,7 @@ Item.prototype.run_cmd = async function(state, ...params) {
368
368
  * @param {Array} ...params 参数集合
369
369
  */
370
370
  Item.prototype.cmd = function(state, ...params) {
371
- return this.run_cmd(state, ...param);
371
+ return null;
372
372
  }
373
373
 
374
374
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "这是超级美眉框架机制构建辅助模块,用于快速构建一个机制",
5
5
  "main": "index.js",
6
6
  "scripts": {