fix 函数名称
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user