king
2019-12-27 14dddbb8c4babce0f2444e1d2d1a3784a273969d
src/templates/comtableconfig/tabform/index.jsx
@@ -29,7 +29,7 @@
    let _tabs = this.props.tabs.filter(tab => tab.type === type)
    let initTab = _tabs.filter(tab => tab.uuid === _initval)[0]
    console.log(_tabs)
    this.setState({
      formlist: formlist.map(item => {
        if (item.key === 'linkTab') {
@@ -85,19 +85,17 @@
        })
      })
      console.log(value)
      this.setState({
        formlist: this.state.formlist.map(form => {
          return form
        })
      }, () => {
        this.setState({
          formlist: this.state.formlist.map(form => {
            return form
          })
        })
      })
      // this.setState({
      //   formlist: this.state.formlist.map(form => {
      //     return form
      //   })
      // }, () => {
      //   this.setState({
      //     formlist: this.state.formlist.map(form => {
      //       return form
      //     })
      //   })
      // })
    }
  }