selenium获取layer.msg返回值
本帖最后由 353884277 于 2019-12-2 10:59 编辑$.ajax({
type: "POST",
async: false,
url: '/private/loginCheck',
data: formData,
success: function(msg)
{
if (msg == "S_00000")
{
//$("#ewmLoginImg").html('<img src="$!base/themes/images/loading3.gif" class="imagess">');
// $("#ewmdenglSpan").html('正在登录..');
layer.msg("登录成功", {icon: 1, time: 1000})
window.location.href = '/private/default';
} else {
top.layer.msg(msg + '!', {icon: 4, time: 1000});
}
},
error: function()
{
layer.msg('系统异常', {icon: 5, time: 1000});
}
});怎么获取登陆成功的信息呢,求解答
页:
[1]