king
2025-01-24 e1cee96b38805bcccf48e7bcb9d296f2bc54c720
src/menu/components/tabs/table-tabs/index.jsx
@@ -40,7 +40,6 @@
        uuid: tabs.uuid,
        type: tabs.type,
        subtype: 'tabletabs',
        width: 24,
        setting: {},
        style: {},
        subtabs: [
@@ -73,7 +72,7 @@
  delTab = (tab) => {
    let tabs = fromJS(this.state.tabs).toJS()
    const _this = this
    const that = this
    tabs.subtabs = tabs.subtabs.filter(t => t.uuid !== tab.uuid)
@@ -81,8 +80,8 @@
      title: '确定删除标签?',
      content: '',
      onOk() {
        _this.setState({tabs})
        _this.props.updateConfig(tabs)
        that.setState({tabs})
        that.props.updateConfig(tabs)
      },
      onCancel() {}
    })