fix: 复制指令id相同

This commit is contained in:
chenjianxing 2022-04-13 12:08:43 +08:00 committed by zhangdahai112
parent aaa35dde55
commit f03e4cddc8
3 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 84255baf9350f81384146e83af7c16fcfb5da87c
Subproject commit 5314f6c21ef3e9a0ef46d7fee3d4422579944ea6

View File

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

@ -1 +1 @@
Subproject commit e98364238c2b8558e8916da27b4ef2d84e164e32
Subproject commit ff71cdfa88f3e44d161b34acbc21390d42df6bd9