diff --git a/component/pear/module/treetable.js b/component/pear/module/treetable.js index b5a072496c784602a772518f7a1e5f56a55e2af3..b6d61cf7e7ae4b331e51941b3e47c62353e0d7d8 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);