|
@@ -337,7 +337,7 @@ const createNewPathTree = function (type, setting) {
|
|
|
});
|
|
|
for (const data of datas) {
|
|
|
const keyName = itemsPre + data[this.setting.id];
|
|
|
- if (this.items[keyName]) throw '数据错误';
|
|
|
+ if (this.items[keyName]) continue;
|
|
|
|
|
|
const item = JSON.parse(JSON.stringify(data));
|
|
|
item.children = [];
|