mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
fix split
This commit is contained in:
parent
695c26c859
commit
be95d3fc23
@ -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…
Reference in New Issue
Block a user