Browse Source

fix cmd msg

Paul 4 years ago
parent
commit
af5ff97d6e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      packages/cts-api/src/protocol/CmdMsg.ts

+ 1
- 1
packages/cts-api/src/protocol/CmdMsg.ts View File

@@ -1,7 +1,7 @@
1 1
 import { MsgBase, MsgType } from './MsgBase';
2 2
 
3 3
 export class CmdMsg extends MsgBase {
4
-  type: MsgType = 'cmd';
4
+  msgType: MsgType = 'cmd';
5 5
 
6 6
   // 消息内容
7 7
   msg: string;