East há 3 anos atrás
pai
commit
a8da0c3f60
1 ficheiros alterados com 1 adições e 0 exclusões
  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)