fix: env params incorrect after switching between vendors

This commit is contained in:
jialin
2026-02-07 16:51:09 +08:00
parent 3c5b095510
commit 21ffd2a564
8 changed files with 24 additions and 15 deletions
+4 -1
View File
@@ -1,11 +1,14 @@
import type { InputProps } from 'antd';
import { Form, Input } from 'antd';
import { PasswordProps } from 'antd/lib/input/Password';
import React, { useEffect, useRef, useState } from 'react';
import { SealFormItemProps } from './types';
import Wrapper from './wrapper';
import InputWrapper from './wrapper/input';
const SealPassword: React.FC<InputProps & SealFormItemProps> = (props) => {
const SealPassword: React.FC<InputProps & SealFormItemProps & PasswordProps> = (
props
) => {
const {
label,
placeholder,