fix 新建用例勾选保存并继续创建后,新的用例内容没有清空
This commit is contained in:
parent
6ea6725356
commit
9cfaa9ab73
|
@ -355,6 +355,13 @@
|
|||
this.$success(this.$t('commons.save_success'));
|
||||
if (this.operationType == 'add' && this.isCreateContinue) {
|
||||
this.form.name = '';
|
||||
this.form.prerequisite = '';
|
||||
this.form.steps = [{
|
||||
num: 1,
|
||||
desc: '',
|
||||
result: ''
|
||||
}];
|
||||
this.form.remark = '';
|
||||
this.$emit("refresh");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue