Skip to content

Commit

Permalink
fix:clear-map更新
Browse files Browse the repository at this point in the history
  • Loading branch information
ananzhusen committed Aug 15, 2023
1 parent 17c905e commit c8568ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,10 @@ export class Meta2d {
clearStore(this.store);
this.hideInput();
this.canvas.tooltip.hide();
if (this.map && this.map.isShow) {
this.map.show();
this.map.setView();
}
this.canvas.clearCanvas();
sessionStorage.removeItem('page');
this.store.clipboard = undefined;
Expand Down

0 comments on commit c8568ca

Please sign in to comment.