mirror of https://gitee.com/stylefeng/guns
修复layui不分页的显示条数问题
parent
0fbc1f43a4
commit
0a1e0025f6
|
@ -41,13 +41,15 @@ layui.use(['layer', 'form', 'table', 'HttpRequest', 'func', 'tree'], function ()
|
|||
{field: 'chineseName', title: '中文名称', width: 150},
|
||||
{field: 'fieldClassType', title: '字段类型', width: 150},
|
||||
{field: 'fieldName', title: '字段名称', width: 200},
|
||||
{field: 'validationMessages', title: '校验信息'}
|
||||
{field: 'validationMessages', title: '可能出现的参数校验错误提示'}
|
||||
]];
|
||||
|
||||
// 渲染请求参数列表
|
||||
table.render({
|
||||
elem: '#requestParamsTable',
|
||||
cols: columns,
|
||||
page: false,
|
||||
limit: Number.MAX_VALUE,
|
||||
data: detailResult.data.paramFieldDescriptions,
|
||||
even: true
|
||||
});
|
||||
|
@ -56,6 +58,8 @@ layui.use(['layer', 'form', 'table', 'HttpRequest', 'func', 'tree'], function ()
|
|||
table.render({
|
||||
elem: '#responseParamsTable',
|
||||
cols: columns,
|
||||
page: false,
|
||||
limit: Number.MAX_VALUE,
|
||||
data: detailResult.data.responseFieldDescriptions,
|
||||
even: true
|
||||
});
|
||||
|
|
|
@ -59,6 +59,7 @@ layui.use(['table', 'HttpRequest'], function () {
|
|||
var tableResult = table.render({
|
||||
elem: '#' + OnlineUser.tableId,
|
||||
url: Feng.ctxPath + '/sysUser/onlineUserList',
|
||||
limit: Number.MAX_VALUE,
|
||||
page: false,
|
||||
height: "full-158",
|
||||
cellMinWidth: 100,
|
||||
|
|
|
@ -76,13 +76,13 @@
|
|||
<legend>请求参数</legend>
|
||||
</fieldset>
|
||||
|
||||
<table class="layui-hide" id="requestParamsTable"></table>
|
||||
<table class="layui-hide" id="requestParamsTable" lay-filter="requestParamsTable"></table>
|
||||
|
||||
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
|
||||
<legend>响应参数</legend>
|
||||
</fieldset>
|
||||
|
||||
<table class="layui-hide" id="responseParamsTable"></table>
|
||||
<table class="layui-hide" id="responseParamsTable" lay-filter="responseParamsTable"></table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue