mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +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