From a69102637b1728eef50b070d676577ca71f41e00 Mon Sep 17 00:00:00 2001 From: sunxiaobin89 <285584806@qq.com> Date: Mon, 20 Jun 2022 20:19:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84reloadData=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=9A=84=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/table.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/table.js b/src/modules/table.js index a00631b7..60c52d77 100644 --- a/src/modules/table.js +++ b/src/modules/table.js @@ -2093,8 +2093,8 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){ return thisTable.call(that); }; - //需要重新render的参数名单 - var dataParams = ['data', 'url', 'where', 'page', 'request', 'response', 'parseData']; + //reloadData支持的的参数名单 + var dataParams = ['data', 'url', 'where', 'page', 'request', 'response', 'parseData', 'limit']; var dataParamsRegExp = new RegExp('^(' + dataParams.join('|') + ')$') //重载数据 options只允许跟数据请求相关的配置信息 table.reloadData = function(id, options, deep){