From 14dddbb8c4babce0f2444e1d2d1a3784a273969d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 27 十二月 2019 09:15:57 +0800 Subject: [PATCH] 2019-12-27 --- src/templates/comtableconfig/tabform/index.jsx | 26 ++++++++++++-------------- 1 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/templates/comtableconfig/tabform/index.jsx b/src/templates/comtableconfig/tabform/index.jsx index d338f64..cdf8c4b 100644 --- a/src/templates/comtableconfig/tabform/index.jsx +++ b/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 + // }) + // }) + // }) } } -- Gitblit v1.8.0