提交 3a50126c 编写于 作者: W weizhiqiang

【角色管理】解决刷新列表闪烁的问题

上级 59ca60f0
...@@ -35,7 +35,7 @@ layui.config({ ...@@ -35,7 +35,7 @@ layui.config({
done: function(json) { done: function(json) {
matchingLanguage(); matchingLanguage();
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入角色名称", function () { initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入角色名称", function () {
table.reload("messageTable", {page: {curr: 1}, where: getTableParams()}); table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
}); });
} }
}); });
...@@ -121,7 +121,7 @@ layui.config({ ...@@ -121,7 +121,7 @@ layui.config({
}); });
function loadTable(){ function loadTable(){
table.reload("messageTable", {where: getTableParams()}); table.reloadData("messageTable", {where: getTableParams()});
} }
function getTableParams() { function getTableParams() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册