fix(websocket): 移除重复的seq字段并统一在命令中添加
在websocket命令构造中统一添加seq字段,避免在调用处重复设置。移除ckbox页面中重复的seq设置,保持代码一致性。
This commit is contained in:
@@ -233,6 +233,7 @@ export const useWebSocketStore = createPersistStore<WebSocketState>(
|
||||
const command = {
|
||||
cmdType,
|
||||
...data,
|
||||
seq: +new Date(),
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user