fix: when the form is opened repeatedly, the state is unexpectedly destroyed (#4406)

This commit is contained in:
Vben
2024-09-14 22:07:50 +08:00
committed by GitHub
parent c3d0102cda
commit 02c4014ae3
2 changed files with 8 additions and 1 deletions

View File

@@ -177,7 +177,7 @@ export class FormApi {
}
unmounted() {
this.state = null;
// this.state = null;
this.isMounted = false;
this.stateHandler.reset();
}