mirror of https://gitee.com/stylefeng/guns
【common.js】增加全局分页参数
parent
b897ccd526
commit
84b76be583
|
@ -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});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue