Fix: don't use null as id

This commit is contained in:
eight 2018-12-07 13:25:58 +08:00
parent 779a6e4e35
commit 3af2b9a103

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) {