East hace 3 años
padre
commit
a8da0c3f60
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)