Skip to content

Commit

Permalink
fix: 添加限制去除
Browse files Browse the repository at this point in the history
  • Loading branch information
yxh01132861 committed Nov 24, 2023
1 parent 9622151 commit 6f14307
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,7 @@ const Internal = (props: IconSelectorProps) => {
onChange={({ title, icon }) => setUnknownIcon({ title, icon })}
/> */}

<Button
className={cls(`${prefixCls}__add-item`, hashId)}
size="small"
type="link"
disabled={fieldList.length === iconList.length}
onClick={onAddItem}
>
<Button className={cls(`${prefixCls}__add-item`, hashId)} size="small" type="link" onClick={onAddItem}>
<PlusOutlined /> 添加
</Button>

Expand Down

0 comments on commit 6f14307

Please sign in to comment.