East 3 years ago
parent
commit
a8da0c3f60
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/deviceAdmin/addOrUpdate.vue

+ 1 - 0
src/views/deviceAdmin/addOrUpdate.vue

@@ -336,6 +336,7 @@ export default {
                 // }
               })
               // this.resetForm()
+              this.$refs.form.resetFields()
               this.visible = false
             } else {
               this.$message.error(data.msg)