fix 函数名称

This commit is contained in:
2021-07-09 14:54:46 +08:00
parent d4e8cc52e6
commit a265e131b3
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ export default class index extends Component {
panes = [] panes = []
componentDidMount() { componentDidMount() {
window.realodContentWindow = this.onReload window.reloadContentWindow = this.onReload
} }
static getDerivedStateFromProps(props) { static getDerivedStateFromProps(props) {

View File

@@ -58,7 +58,7 @@ export default class index extends Component {
<Tooltip placement="bottom" title="重新加载框架"> <Tooltip placement="bottom" title="重新加载框架">
<span <span
className="header-action" className="header-action"
onClick={() => window.realodContentWindow()} onClick={() => window.reloadContentWindow()}
> >
<AntIcon type="reload" /> <AntIcon type="reload" />
</span> </span>