格式化返回数据时,数据解析出错,造成循环引用
parent
91de93f212
commit
9bc2a7bca3
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue