Skip to content

Commit

Permalink
fix(drawer): fix the destroy function does not correctly mark _status…
Browse files Browse the repository at this point in the history
… as 'DESTROY'
  • Loading branch information
hongfaqiu committed Jul 29, 2024
1 parent 8ddee6f commit d053b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/drawer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ export default class Drawer {

destroy(): void {
this.reset();
this._status = 'DESTROY';
this.mouseTooltip.destroy();
this._subscriber.destroy();
this._status = 'DESTROY';
}
}

0 comments on commit d053b93

Please sign in to comment.