问题描述:因为更新版本用户提供的JSON数据中id被干掉了
在2.4.5的版本上,recordData 只是排除了children和basicData
var recordData = _this.record ? event.cloneObj(data, [_this.response.basicData, _this.response.childName]) : {};
到了2.5.0版本,recordData (排除了children和basicData)只记录用户自定义数据,所以参数id被排除了
var recordData = _this.record ? event.cloneObj(data, [_this.response.treeId,
_this.response.parentId,
_this.response.title,
_this.response.iconClass,
_this.response.childName,
_this.response.last,
_this.response.spread,
_this.response.disabled,
_this.response.hide,
_this.response.checkArr,
_this.response.checked,
_this.response.type,
_this.response.basicData]) : {};