From 9bc2a7bca3b73e5378a8b2d1c28218d7f4ca305c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E4=B8=91=E7=9A=87?= <84304741@qq.com> Date: Mon, 3 May 2021 00:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=97=B6=EF=BC=8C=E6=95=B0=E6=8D=AE=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E5=87=BA=E9=94=99=EF=BC=8C=E9=80=A0=E6=88=90=E5=BE=AA?= =?UTF-8?q?=E7=8E=AF=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/pear/module/treetable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/pear/module/treetable.js b/component/pear/module/treetable.js index b5a0724..b6d61cf 100644 --- a/component/pear/module/treetable.js +++ b/component/pear/module/treetable.js @@ -16,7 +16,7 @@ layui.define(['layer', 'table'], function (exports) { } else { $.getJSON(param.url, param.where, function (res) { if(param.parseData){ - res.data = param.parseData(res); + res = param.parseData(res); param.data = res.data; } treetable.init(param, res.data); -- Gitee