Permalink
Browse files

fix: getSimpleData如果为undefined按原值返回

  • Loading branch information...
liuyk
liuyk committed Dec 6, 2016
1 parent 2654da4 commit c7b3135bd7cbf90688362388173e80b35501cc94
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/dataTable/row-getSimpleData.js
@@ -32,6 +32,8 @@ const _getSimpleData = function(rowObj, data){
_data[key] = rowObj.formatValueFun(obj,rowObj.parent.dateNoConvert);
}
}else if(!data[key].value){
_data[key] = data[key].value;
}
else{
_data[key] = _getSimpleData(rowObj, data[key])

0 comments on commit c7b3135

Please sign in to comment.