Explorar o código

移除质检模板类型变化的监听逻辑

yusheng hai 7 meses
pai
achega
fdbcf1ebbe
Modificáronse 1 ficheiros con 7 adicións e 7 borrados
  1. 7 7
      src/views/inspectionTemplate/AddorUpdate.vue

+ 7 - 7
src/views/inspectionTemplate/AddorUpdate.vue

@@ -651,13 +651,13 @@
       }
     },
     watch: {
-      'dataForm.type': {
-        handler(val) {
-          if (val == 2) {
-            this.templateCategoryList = [];
-          }
-        }
-      }
+      // 'dataForm.type': {
+      //   handler(val) {
+      //     if (val == 2) {
+      //       this.templateCategoryList = [];
+      //     }
+      //   }
+      // }
     }
   };
 </script>