Skip to content

Commit

Permalink
fix: 修复 iframe 事件响应重复的问题 Close: #10196 (#10266)
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop authored May 31, 2024
1 parent b08c31d commit 877856f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/amis/src/renderers/IFrame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,5 +322,6 @@ export class IFrameRenderer extends IFrame {
componentWillUnmount() {
const scoped = this.context as IScopedContext;
scoped.unRegisterComponent(this);
super.componentWillUnmount();
}
}

0 comments on commit 877856f

Please sign in to comment.