ysy 1 년 전
부모
커밋
ec47e84970
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  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
       }
     },