lilei hace 4 años
padre
commit
861637de8e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/views/equipmentManage/boxSetting/AddBoxModal.vue

+ 2 - 0
src/views/equipmentManage/boxSetting/AddBoxModal.vue

@@ -214,6 +214,8 @@ export default {
       this.formData.name = ''
       this.formData.boxNum = ''
       this.formData.deviceTypeBoxList = []
+      delete this.formData.id
+      delete this.formData.deviceTypeNo
     }
   },
   watch: {