diff --git a/public/themes/simpleboot3/friendship/enter_password.html b/public/themes/simpleboot3/friendship/enter_password.html
index b0071b5..9d2d42b 100644
--- a/public/themes/simpleboot3/friendship/enter_password.html
+++ b/public/themes/simpleboot3/friendship/enter_password.html
@@ -99,7 +99,7 @@
     var str=""
     var arr=[];
     var txts = wrap.getElementsByClassName("entercode");
-    var t = 0;
+    var t = '';
     //输入的密码自动输入到下一个
     onload = function(){
         console.log(txts)
@@ -139,7 +139,7 @@
     }
 
     $(".nextstep").click(function(){
-        alert(t);
+        alert(t.index);
         window.location.href="{:url('friendship/Friend/surePassword')}"
     })