xiaogang 4 年之前
父节点
当前提交
d7ec1ded71
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/web/register.html

+ 2 - 2
public/web/register.html

@@ -235,10 +235,10 @@
     //眼睛
     //眼睛
     $("#btn-password").on("click", function () {
     $("#btn-password").on("click", function () {
         if ($('#password').attr('type') == 'password') {
         if ($('#password').attr('type') == 'password') {
-            $(this).children('img').attr('src', 'img/eye.png')
+            $(this).children('img').attr('src', 'images/eye.png')
             $('#password').attr('type', 'text');
             $('#password').attr('type', 'text');
         } else {
         } else {
-            $(this).children('img').attr('src', 'img/biyan.png')
+            $(this).children('img').attr('src', 'images/biyan.png')
             $('#password').attr('type', 'password');
             $('#password').attr('type', 'password');
         }
         }
     })
     })