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