Browse Source

关闭弹窗重置表单状态

yujinwen 2 weeks ago
parent
commit
60c09d7db0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/semantics_manage/document/documentEditPage.vue

+ 1 - 0
src/views/semantics_manage/document/documentEditPage.vue

@@ -138,6 +138,7 @@ export default {
     closeClassifyForm(){
       this.isShowAddClassify=false
       this.classifyForm.classify_name=''
+      this.$refs.formRef.resetFields()
     },
     handleAddClassify(){
       this.$refs.formRef.validate(async (valid) => {