Merge branch 'v1.3' of https://github.com/metersphere/server into v1.3
This commit is contained in:
commit
dbf18cde4a
|
@ -99,6 +99,8 @@ export default {
|
||||||
clone(row) {
|
clone(row) {
|
||||||
let scenarios = [];
|
let scenarios = [];
|
||||||
row.selected.forEach(options => {
|
row.selected.forEach(options => {
|
||||||
|
// 去掉ID,创建新的ID
|
||||||
|
options.id = undefined;
|
||||||
scenarios.push(new Scenario(options));
|
scenarios.push(new Scenario(options));
|
||||||
})
|
})
|
||||||
this.$emit('select', scenarios);
|
this.$emit('select', scenarios);
|
||||||
|
|
Loading…
Reference in New Issue