king
2019-12-24 a859b8d276dcdc0a9a806498f4a6af845858e3a9
src/components/sidemenu/editthdmenu/index.jsx
@@ -432,6 +432,10 @@
    document.getElementById('root').style.overflowY = 'unset'
  }
  tabHandleConfig = () => {
  }
  handleSubConfig = (item, originMenu, config, type) => {
    if (type === 'button') {
      if (item.OpenType === 'pop') {
@@ -454,6 +458,17 @@
          tabview: 'SubTable'
        })
      }
    } else if (type === 'tabButton') {
      // item.pageParam = ''
      // if (config && config.type === 'Modal') {
      //   item.pageParam = config
      // }
      // this.setState({
      //   editMenu: originMenu,
      //   editAction: item,
      //   tabview: 'Modal'
      // })
    }
  }
@@ -587,6 +602,7 @@
        {this.state.tabview === 'SubTable' &&
          <SubTable
            config={this.state.editTab}
            menu={this.state.editMenu}
            handleConfig={this.handleConfig}
            handleSubConfig={this.handleSubConfig}
          />