feat: optiminize

This commit is contained in:
butterfly
2024-04-26 01:31:03 +08:00
parent 59583e53bd
commit 48e8c0a194
30 changed files with 304 additions and 263 deletions

View File

@@ -73,7 +73,7 @@ export default function Input(props: CommonInputProps & InputProps) {
}}
/>
{type == "password" && (
<div onClick={() => setShow((pre) => !pre)}>
<div className=" cursor-pointer" onClick={() => setShow((pre) => !pre)}>
{show ? <PasswordVisible /> : <PasswordInvisible />}
</div>
)}