fix: 拷贝场景处理ID

This commit is contained in:
chenjianxing 2022-04-14 16:25:29 +08:00 committed by jianxing
parent 890e363e37
commit 4e2f7dce20
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,6 @@ export function copyScenarioRow(row, node) {
resetResourceId(obj.hashTree);
}
obj.resourceId = getUUID();
obj.id = getUUID();
if (obj.name) {
obj.name = obj.name + '_copy';
}
@ -197,6 +196,7 @@ export function copyScenarioRow(row, node) {
} else {
hashTree.push(obj);
}
return obj;
}
export function resetResourceId(hashTree) {