Commit 60ec25ac authored by 张子雨's avatar 张子雨

feat: 临时添加禁止修改逻辑

parent 6b94933d
...@@ -261,7 +261,8 @@ export function renderServiceTags() { ...@@ -261,7 +261,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 = (
<Tag key={tag} closable onClose={() => handleClose.call(that, tag)}> // closable 二期放开
<Tag key={tag} onClose={() => handleClose.call(that, tag)}>
{isLongTag ? `${tag.slice(0, 20)}...` : tag} {isLongTag ? `${tag.slice(0, 20)}...` : tag}
</Tag> </Tag>
); );
...@@ -286,14 +287,15 @@ export function renderServiceTags() { ...@@ -286,14 +287,15 @@ export function renderServiceTags() {
onPressEnter={e => handleInputConfirm.call(that, e)} onPressEnter={e => handleInputConfirm.call(that, e)}
/> />
)} )}
{!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>
); );
} }
......
This diff is collapsed.
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