Fix: don't use null as id (#606)

This commit is contained in:
eight 2018-12-08 11:57:43 +08:00 committed by Rob Garrison
parent 779a6e4e35
commit 30d00dbd3a

View File

@ -161,7 +161,7 @@ function importFromString(jsonString) {
if (sameStyle(byId, item)) {
oldStyle = byId;
} else {
item.id = null;
delete item.id;
}
}
if (!oldStyle && byName) {