This commit is contained in:
xuyucheng 2022-03-08 16:59:06 +08:00
parent 3a3fd8a8c5
commit 4987128f63
2 changed files with 2 additions and 2 deletions

View File

@ -257,7 +257,7 @@ class IndustryAnalysis extends Component {
<>
{fields.map(field => (
<Row gutter={24} align="middle">
<Col span={5}><Tag color="#f50">年度</Tag>
<Col span={5}><Tag color="#f50">项目</Tag>
<Form.Item {...field} name={[field.name, '年度']}>
<Input />
</Form.Item>

View File

@ -256,7 +256,7 @@ class AnalysisDetails extends Component {
<>
{fields.map(field => (
<Row key={field.key} gutter={24} align="middle">
<Col span={5}><Tag color="#f50">年度</Tag>
<Col span={5}><Tag color="#f50">项目</Tag>
<Form.Item {...field} name={[field.name, '年度']}>
<Input defaultValue={this.state.data["规模分布"]["数据"][field.key] && Object.keys(this.state.data["规模分布"]["数据"][field.key])[0]} />
</Form.Item>