ysy hace 1 año
padre
commit
ec47e84970
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  1. 7 2
      src/views/material/BOMmanage/components/detailedList.vue

+ 7 - 2
src/views/material/BOMmanage/components/detailedList.vue

@@ -276,8 +276,13 @@
     },
 
     watch: {
-      treeId(val) {
-        this.newTreeId = val;
+      treeId: {
+        handler(val) {
+          this.newTreeId = val;
+          console.log(999, this.newTreeId)
+        },
+        deep: true,
+        immediate: true
       }
     },