update ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js.

This commit is contained in:
kagome2014 2020-12-16 01:58:48 +08:00 committed by Gitee
parent 78eed9cd56
commit aaae98226d
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ var table = {
if (typeof table.get(this.id).responseHandler == "function") { if (typeof table.get(this.id).responseHandler == "function") {
table.get(this.id).responseHandler(res); table.get(this.id).responseHandler(res);
} }
if (res.code == 0) { if (res.code == web_status.SUCCESS) {
if ($.common.isNotEmpty(table.options.sidePagination) && table.options.sidePagination == 'client') { if ($.common.isNotEmpty(table.options.sidePagination) && table.options.sidePagination == 'client') {
return res.rows; return res.rows;
} else { } else {