const inputNode = dataIndex == "split_type" ? ( <Select onChange={handleChange} style={{ width: "300px" }} placeholder="请选择分扎类型" optionFilterProp="children" > {typeList && typeList.map((item: any) => ( <Option value={item.id}>{item.name}</Option> ))} </Select> ) : ( <InputNumber disabled={type == "2"}></InputNumber> );