Commit da0bdbcd authored by 陈万宝's avatar 陈万宝

Merge branch 'feature/20230327_public_takeaway' of...

Merge branch 'feature/20230327_public_takeaway' of http://git.quantgroup.cn/ui/merchant-manage-ui into feature/20230327_public_takeaway
parents bcd57370 7453eb82
...@@ -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