【common.js】增加全局分页参数

pull/64/head
chenjinlong 2021-01-25 15:45:42 +08:00
parent b897ccd526
commit 84b76be583
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ Feng.parseData = function (res) {
"data": res.data.rows //解析数据列表 "data": res.data.rows //解析数据列表
}; };
}; };
/* 设置分页请求参数 */
Feng.pageRequest = {pageName: 'pageNo', limitName: 'pageSize'};
Feng.info = function (info) { Feng.info = function (info) {
top.layer.msg(info, {icon: 6}); top.layer.msg(info, {icon: 6});
}; };