正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -35,7 +35,7 @@ import QuestionApe from 'apes/QuestionApe'; | @@ -35,7 +35,7 @@ import QuestionApe from 'apes/QuestionApe'; | ||
| 35 | import UTF8 from 'utf-8'; | 35 | import UTF8 from 'utf-8'; |
| 36 | 36 | ||
| 37 | let loger = Loger.getLoger('McuClient'); | 37 | let loger = Loger.getLoger('McuClient'); |
| 38 | -let _sdkInfo = {"version": "v1.56.0.20170727", "author": "www.3mang.com"}; | 38 | +let _sdkInfo = {"version": "v1.56.1.20170727", "author": "www.3mang.com"}; |
| 39 | 39 | ||
| 40 | //APE | 40 | //APE |
| 41 | let _sass; | 41 | let _sass; |
| @@ -105,7 +105,7 @@ class CursorApe extends Ape { | @@ -105,7 +105,7 @@ class CursorApe extends Ape { | ||
| 105 | ///////鼠标数据发送///////////////////////////////////////// | 105 | ///////鼠标数据发送///////////////////////////////////////// |
| 106 | packPdu(_param, _itemIdx) { | 106 | packPdu(_param, _itemIdx) { |
| 107 | //验证坐标点集合数组是否合法 | 107 | //验证坐标点集合数组是否合法 |
| 108 | - if (_param.pointGroup == null || _param.pointGroup.length < 1) { | 108 | + if (_param.pointGroup == null) { |
| 109 | this._emit(MessageTypes.MCU_ERROR, MessageTypes.ERR_APE_INTERFACE_PARAM_WRONG); | 109 | this._emit(MessageTypes.MCU_ERROR, MessageTypes.ERR_APE_INTERFACE_PARAM_WRONG); |
| 110 | return null; | 110 | return null; |
| 111 | } | 111 | } |
-
请 注册 或 登录 后发表评论