| | |
| | | |
| | | 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') { |
| | |
| | | }) |
| | | }) |
| | | |
| | | 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 |
| | | // }) |
| | | // }) |
| | | // }) |
| | | } |
| | | } |
| | | |