修复页面存在多表格,回调函数res数据不正确问题

pull/197/MERGE
RuoYi 2020-08-17 10:00:26 +08:00
parent a4b0a7c0bb
commit 03174f1ead
2 changed files with 4 additions and 4 deletions

View File

@ -162,8 +162,8 @@ var table = {
},
// 请求获取数据后处理回调函数
responseHandler: function(res) {
if (typeof table.options.responseHandler == "function") {
table.options.responseHandler(res);
if (typeof table.get(this.id).responseHandler == "function") {
table.get(this.id).responseHandler(res);
}
if (res.code == 0) {
if ($.common.isNotEmpty(table.options.sidePagination) && table.options.sidePagination == 'client') {