@@ -77,8 +107,8 @@ export default class index extends Component {
type="editable-card"
hideAdd
activeKey={this.state.actived}
- onChange={this.onChange}
- onEdit={this.onClose}
+ onChange={(activeKey) => this.onChange(activeKey)}
+ onEdit={(targetKey, action) => this.onClose(targetKey, action)}
>
{
this.props.panes.map(pane => {
@@ -91,7 +121,7 @@ export default class index extends Component {
trigger={['contextMenu']}
overlay={
)
diff --git a/web-react/src/views/main/_layout/header/index.jsx b/web-react/src/views/main/_layout/header/index.jsx
index a25b9e4..6452b78 100644
--- a/web-react/src/views/main/_layout/header/index.jsx
+++ b/web-react/src/views/main/_layout/header/index.jsx
@@ -17,7 +17,7 @@ export default class index extends Component {
{/* search */}
-
+ window.realodContentWindow()}>