修复后台登录页回车登录

This commit is contained in:
taoser 2020-12-10 17:11:41 +08:00
parent 6534827c4e
commit 18df4bda7e

View File

@ -94,11 +94,11 @@
form.render(); form.render();
//回车登陆 //回车登陆
//$('input').keydown(function(e){ $(document).keydown(function(e){
// if(e.key.Code == 13){ if(e.keyCode == 13){
//form.on(); $("#LAY-user-login-submit").click()
// } }
//}); })
//提交 //提交
form.on('submit(LAY-user-login-submit)', function(obj){ form.on('submit(LAY-user-login-submit)', function(obj){