Commit 62012bc7 authored by 卢均锐's avatar 卢均锐

fix: [17442] 小程序c端模板装修--推荐商品设置标签的时候,限制只能设置三个标签

parent ef899f6e
......@@ -224,7 +224,7 @@ const SuggestProductCommodity: React.FC<SuggestProductCommodityProps> = (props:
onPressEnter={_handleInputConfirm}
/>
)}
{!inputVisible && (
{!inputVisible && (!tags || tags.length <= 2 ) && (
<Tag className={styles['site-tag-plus']} onClick={_showInput}>
<PlusOutlined /> 新增标签
</Tag>
......
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