开发:清除注入

pull/977/head
ChenX 4 years ago
parent 8b2a28edde
commit 482865513c

@ -95,6 +95,14 @@ export class Curve2RecModal extends React.Component<{ store: Curve2RecModalStore
})
);
}
componentWillUnmount()
{
for (let f of this.removeFuncs)
f();
this.removeFuncs.length = 0;
}
render()
{
const store = this.props.store;

Loading…
Cancel
Save