Score
0
Watch 2.8K Star 9.8K Fork 4.8K

GVP若依 / RuoYiJavaMIT

Open
!122 普通列表页面回车搜索功能

lnrCoder:master若依:master

lnrCoder Created on: 2019-08-26 15:14

普通列表页面 单击回车键 搜索

0 comments, 1 participants 568935_shlycsd

The Pull Request can be automatically merged.
The Pull Request cannot be automatically merged.
Check whether the system can automatically merge this Pull Request...
The Pull Request have been merged or cannot be merged, try refreshing the page to see.

Sign in to comment

2019-08-26

(2)
1 changed files ,commit stats: +12 -0
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
@@ -1360,4 +1360,16 @@ modal_status = {
SUCCESS: "success",
FAIL: "error",
WARNING: "warning"
};
document.onkeydown = function (event) {
var e = e || window.event;
if (e.keyCode === 13) {
var hasTable = document.getElementById("bootstrap-table");
if (hasTable == null) {
return true;
}
$.table.search();
return false;
}
};
\ No newline at end of file
Java
1
https://gitee.com/y_project/RuoYi.git
git@gitee.com:y_project/RuoYi.git
y_project
RuoYi
RuoYi

Help Search