查看密码无效修复

feat/task1-c-wallet
gongfuxiang 2022-12-23 10:07:52 +08:00
parent d93889809e
commit 67d4bfa8e4
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ $(function()
// 查看密码
$('.eye-submit').on('click', function()
{
var $obj = $(this).parent().prev();
var $obj = $(this).parent().parent().find('input');
if($obj.attr('type') == 'password')
{
$(this).addClass('cr-green');

View File

@ -8,7 +8,7 @@ $(function()
// 查看密码
$('.eye-submit').on('click', function()
{
var $obj = $(this).parent().prev();
var $obj = $(this).parent().parent().find('input');
if($obj.attr('type') == 'password')
{
$(this).addClass('cr-green');