Commit 8b80b629 authored by 武广's avatar 武广

fix: 放开按钮功能

parent be8a1f7a
...@@ -266,8 +266,8 @@ export function renderServiceTags() { ...@@ -266,8 +266,8 @@ export function renderServiceTags() {
that.state.businessInfo.customList.map(tag => { that.state.businessInfo.customList.map(tag => {
const isLongTag = tag.length > 20; const isLongTag = tag.length > 20;
const tagElem = ( const tagElem = (
// closable 二期放开 // 二期放开
<Tag key={tag} onClose={() => handleClose.call(that, tag)}> <Tag key={tag} closable onClose={() => handleClose.call(that, tag)}>
{isLongTag ? `${tag.slice(0, 20)}...` : tag} {isLongTag ? `${tag.slice(0, 20)}...` : tag}
</Tag> </Tag>
); );
...@@ -293,14 +293,14 @@ export function renderServiceTags() { ...@@ -293,14 +293,14 @@ export function renderServiceTags() {
/> />
)} )}
{/* 二期放开 */} {/* 二期放开 */}
{/* {!that.state.tagVisible && ( {!that.state.tagVisible && (
<Tag <Tag
onClick={() => showInput.call(that)} onClick={() => showInput.call(that)}
style={{ background: '#fff', borderStyle: 'dashed' }} style={{ background: '#fff', borderStyle: 'dashed' }}
> >
<PlusOutlined /> 新增 <PlusOutlined /> 新增
</Tag> </Tag>
)} */} )}
</div> </div>
); );
} }
......
...@@ -70,7 +70,7 @@ class BusinessInfo extends Component { ...@@ -70,7 +70,7 @@ class BusinessInfo extends Component {
mainCategoryId: null, mainCategoryId: null,
companyNamedis: false, // 公司名称 companyNamedis: false, // 公司名称
companyType: null, // 企业类型 companyType: null, // 企业类型
disabled: true, // 二期放开 disabled: false, // 二期放开
}; };
async componentDidMount() { async componentDidMount() {
...@@ -582,9 +582,9 @@ class BusinessInfo extends Component { ...@@ -582,9 +582,9 @@ class BusinessInfo extends Component {
<Row> <Row>
<Col span={4} style={{ marginTop: '4px' }}> <Col span={4} style={{ marginTop: '4px' }}>
{/* 二期放开 */} {/* 二期放开 */}
{/* {businessInfo.companyName && ( {businessInfo.companyName && (
<Button onClick={this.setCompanyName}>修改</Button> <Button onClick={this.setCompanyName}>修改</Button>
)} */} )}
</Col> </Col>
<Col span={12}> <Col span={12}>
<FormItem label="公司名称" labelCol={{ span: 8 }}> <FormItem label="公司名称" labelCol={{ span: 8 }}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment