Open fulicat opened 3 years ago
https://github.com/zTree/zTree_v3/blob/be70dfab91925f9356298538337586ddb3748dd3/js/jquery.ztree.all.js#L1092
当这样配置时,会导致服务响应出错:
type: 'GET', contentType: 'application/json; charset=utf-8',
请求变成了这样: http://ss.dev/api/query?{}&_=1628253644521
- data: setting.async.contentType.indexOf('application/json') > -1 ? JSON.stringify(tmpParam) : tmpParam, + data: setting.async.contentType.indexOf('application/json') > -1 ? (setting.async.type.toUpperCase() != 'POST'?$.param(tmpParam) : (Object.keys(tmpParam).length ? JSON.stringify(tmpParam) : '')) : tmpParam,
感谢,等我抽空去测试更新
https://github.com/zTree/zTree_v3/blob/be70dfab91925f9356298538337586ddb3748dd3/js/jquery.ztree.all.js#L1092
当这样配置时,会导致服务响应出错:
请求变成了这样: http://ss.dev/api/query?{}&_=1628253644521
问题点:
修复方法: