chore: pasted multiple lines in env vars

This commit is contained in:
jialin
2025-03-19 11:23:29 +08:00
parent 3a05d74a36
commit 6e87d66932
8 changed files with 134 additions and 36 deletions
+4 -1
View File
@@ -18,6 +18,7 @@ interface LabelItemProps {
onDelete?: () => void;
labelList: { key: string; value: string }[];
onChange?: (params: { key: string; value: string }) => void;
onPaste?: (e: any) => void;
}
const LabelItem: React.FC<LabelItemProps> = ({
label,
@@ -26,7 +27,8 @@ const LabelItem: React.FC<LabelItemProps> = ({
keyAddon,
valueAddon,
onChange,
onDelete
onDelete,
onPaste
}) => {
const intl = useIntl();
const [open, setOpen] = useState(false);
@@ -82,6 +84,7 @@ const LabelItem: React.FC<LabelItemProps> = ({
value={label.key}
onChange={handleOnKeyChange}
onBlur={handleKeyOnBlur}
onPaste={onPaste}
></SealInput.Input>
</Tooltip>
)}