fix: copy button do not work

This commit is contained in:
jialin
2026-02-11 15:30:35 +08:00
parent 2ba94f7524
commit e66de732ac
3 changed files with 124 additions and 42 deletions
@@ -285,7 +285,14 @@ const AddModal: React.FC<AddModalProps> = ({
<SealInput.Input
label={intl.formatMessage({ id: 'apikeys.form.apikey' })}
value={apikeyValue}
addAfter={<CopyButton text={apikeyValue}></CopyButton>}
addAfter={
<CopyButton
text={apikeyValue}
shape="default"
size="middle"
type="text"
></CopyButton>
}
></SealInput.Input>
</Form.Item>
)}