diff --git a/czl-screen/login.html b/czl-screen/login.html index ac75563..c6f6679 100644 --- a/czl-screen/login.html +++ b/czl-screen/login.html @@ -120,10 +120,10 @@ //请求成功 success: function (result) { console.log(result); - $("#uuid").val(result.uuid); - $("#vCode").attr("src", "data:image/png;base64," + result.img); + $("#uuid").val(result.obj.uuid); + $("#vCode").attr("src", "data:image/png;base64," + result.obj.img); code = result.resMsg; - uuid = result.uuid; + uuid = result.obj.uuid; //fastLogin(); }, //请求失败,包含具体的错误信息 @@ -145,7 +145,7 @@ var password = $.trim($('#password').val()); var verifyCode = $.trim($('#verifyCode').val()); var uuid = $.trim($('#uuid').val()); - + if (username == "" || password == "") { $("#info").html('用户名或者密码不能为空'); $(obj).attr("disabled", false); @@ -197,4 +197,4 @@ - \ No newline at end of file +