fix 函数名称
This commit is contained in:
@@ -114,7 +114,7 @@ export default class index extends Component {
|
||||
panes = []
|
||||
|
||||
componentDidMount() {
|
||||
window.realodContentWindow = this.onReload
|
||||
window.reloadContentWindow = this.onReload
|
||||
}
|
||||
|
||||
static getDerivedStateFromProps(props) {
|
||||
|
||||
@@ -58,7 +58,7 @@ export default class index extends Component {
|
||||
<Tooltip placement="bottom" title="重新加载框架">
|
||||
<span
|
||||
className="header-action"
|
||||
onClick={() => window.realodContentWindow()}
|
||||
onClick={() => window.reloadContentWindow()}
|
||||
>
|
||||
<AntIcon type="reload" />
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user