保存草稿的时候清除表单验证信息

master
Harry Yang 2023-01-03 15:10:36 +08:00
parent 69fe5abd51
commit a6b6d05879
2 changed files with 2 additions and 0 deletions

View File

@ -776,6 +776,7 @@
saveDraft() {
this.processForm.status = 'draft'
this.$refs["contractProcessForm"].clearValidate();
this.submit(false)
},

View File

@ -943,6 +943,7 @@
async saveDraft() {
this.processForm.status = 'draft'
this.$refs["contractProcessForm"].clearValidate();
await this.submit(false)
},