From 18732f2761a0f5d1d2b9a455fe7c69f0b11ae27d Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期五, 16 十月 2026 18:07:17 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_新疆_塔河种业' into dev_新疆_塔河种业
---
src/packages/@core/ui-kit/shadcn-ui/src/components/input-password/input-password.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/packages/@core/ui-kit/shadcn-ui/src/components/input-password/input-password.vue b/src/packages/@core/ui-kit/shadcn-ui/src/components/input-password/input-password.vue
index 8e34e07..547fa8d 100644
--- a/src/packages/@core/ui-kit/shadcn-ui/src/components/input-password/input-password.vue
+++ b/src/packages/@core/ui-kit/shadcn-ui/src/components/input-password/input-password.vue
@@ -42,16 +42,18 @@
<slot name="strengthText"> </slot>
</p>
</template>
- <div
+ <button
:class="{
'top-3': !!passwordStrength,
'top-1/2 -translate-y-1/2 items-center': !passwordStrength,
}"
- class="text-foreground/60 hover:text-foreground absolute inset-y-0 right-0 flex cursor-pointer pr-3 text-lg leading-5"
+ type="button"
+ aria-label="鍒囨崲瀵嗙爜鍙鎬�"
+ class="text-foreground/60 hover:text-foreground absolute inset-y-0 right-0 flex cursor-pointer rounded-sm border-0 bg-transparent p-0 pr-3 text-lg leading-5 focus-visible:ring-2 focus-visible:ring-emerald-500/50 focus-visible:outline-none"
@click="show = !show"
>
<Eye v-if="show" class="size-4" />
<EyeOff v-else class="size-4" />
- </div>
+ </button>
</div>
</template>
--
Gitblit v1.9.3