From 917159cd1d55e6956d3cbb869b39855cece34a5e Mon Sep 17 00:00:00 2001 From: sunxiaobin89 <470459819@qq.com> Date: Tue, 29 Aug 2023 02:35:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20table=20pullData=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=9C=A8=20renderData=20=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=E6=89=A7=E8=A1=8C=E4=BA=86=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/table.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/table.js b/src/modules/table.js index 1b269ce1..db4f75f9 100644 --- a/src/modules/table.js +++ b/src/modules/table.js @@ -1001,7 +1001,8 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){ curr: curr, count: res[response.countName], type: opts.type, - }), sort(), done(res, 'renderData'); + sort: true, + }), done(res, 'renderData'); } else if(options.url){ // Ajax请求 var params = {}; // 当 page 开启,默认自动传递 page、limit 参数