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,
+2 -2
View File
@@ -13,7 +13,7 @@ const SelectWrapper = styled.div`
border-color: var(--ant-input-active-border-color) !important;
outline: 0;
background-color: var(--ant-input-active-bg);
border-bottom: none !important;
border-bottom-color: transparent !important;
border-radius: ${BORDERRADIUS}px ${BORDERRADIUS}px 0 0;
transition: all 0.2s ease;
box-shadow: none;
@@ -24,7 +24,7 @@ const SelectWrapper = styled.div`
height: 1px;
margin-inline: 1px;
bottom: 0;
left: 0;
left: 0px;
right: 0;
background-color: var(--ant-color-split);
}