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.
- package/index.js +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
|
|
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
|
|
371
|
+
return null;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
/**
|