fix 添加步骤顺序

This commit is contained in:
chenjianxing 2020-05-21 11:55:05 +08:00
parent 750f09d53b
commit ff9bbd9d69
1 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@
<el-row style="margin-bottom: 10px">
<el-col :offset="2">{{$t('test_track.case.steps')}}:</el-col>
</el-row>
<el-row type="flex" justify="center">
<el-col :span="20">
<el-table
@ -297,7 +298,7 @@
step.num ++;
}
});
this.form.steps.push(step);
this.form.steps.splice(index + 1, 0, step);
},
handleDeleteStep(index, data) {
this.form.steps.splice(index, 1);