Skip to content

Commit

Permalink
fix: new websocket error
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Sep 14, 2022
1 parent cc0fac7 commit 42eb490
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ export class WebsocketComponent implements OnInit, OnDestroy {
}
this.watchBasicForm();
this.eoOnInit.emit(this.model);
// ! here is question
this.validateForm.reset();
this.initBasicForm();
}
async ngOnInit() {
// * 通过 SocketIO 通知后端
Expand Down

0 comments on commit 42eb490

Please sign in to comment.