Browse Source

fix split

pull/2167/head
yiminghe 9 years ago
parent
commit
be95d3fc23
  1. 2
      components/_util/splitObject.tsx

2
components/_util/splitObject.tsx

@ -5,7 +5,7 @@ export default function splitObject(obj, parts) {
if (parts.indexOf(k) !== -1) {
left[k] = obj[k];
} else {
right = obj[k];
right[k] = obj[k];
}
});
return [left, right];

Loading…
Cancel
Save