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

fix: 放开按钮功能

parent be8a1f7a
......@@ -266,8 +266,8 @@ export function renderServiceTags() {
that.state.businessInfo.customList.map(tag => {
const isLongTag = tag.length > 20;
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}
</Tag>
);
......@@ -293,14 +293,14 @@ export function renderServiceTags() {
/>
)}
{/* 二期放开 */}
{/* {!that.state.tagVisible && (
{!that.state.tagVisible && (
<Tag
onClick={() => showInput.call(that)}
style={{ background: '#fff', borderStyle: 'dashed' }}
>
<PlusOutlined /> 新增
</Tag>
)} */}
)}
</div>
);
}
......
......@@ -70,7 +70,7 @@ class BusinessInfo extends Component {
mainCategoryId: null,
companyNamedis: false, // 公司名称
companyType: null, // 企业类型
disabled: true, // 二期放开
disabled: false, // 二期放开
};
async componentDidMount() {
......@@ -582,9 +582,9 @@ class BusinessInfo extends Component {
<Row>
<Col span={4} style={{ marginTop: '4px' }}>
{/* 二期放开 */}
{/* {businessInfo.companyName && (
{businessInfo.companyName && (
<Button onClick={this.setCompanyName}>修改</Button>
)} */}
)}
</Col>
<Col span={12}>
<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