Explorar el Código

保存时清除位置视图选中数据

hongxudong hace 2 años
padre
commit
081a0d96cb
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/view/pdm/data-collection/check-touch-add.vue

+ 2 - 1
src/view/pdm/data-collection/check-touch-add.vue

@@ -564,6 +564,8 @@ export default {
      * @date   : 2023/6/7 15:42
      */
     saveData() {
+      //保存时清除位置视图选中数据
+      this.currentImageRow = []
       return this.excute(this.$service.collectService, '/', this.params);
     },
     /**
@@ -1279,7 +1281,6 @@ export default {
       this.formData_Defect.pdtPlaceId = this.viewPlaceId
       this.formData_Defect.pdtPlaceCodeName = this.viewPlaceName
       this.viewModal = false
-      this.currentImageRow = []
     },
     /**
      * @desc   : 全屏