zhuliu há 3 meses atrás
pai
commit
1d851bae0a
1 ficheiros alterados com 9 adições e 1 exclusões
  1. 9 1
      src/views/components/import/task/components/index.vue

+ 9 - 1
src/views/components/import/task/components/index.vue

@@ -153,7 +153,15 @@ export default {
       ],
     };
   },
-  watch: {},
+  watch: {
+    importToId(){
+      this.searchFiled2= {
+        projectId: this.importToType == 2?null:this.importToId,
+        productId: this.importToType == 2?this.importToId:null,
+      }
+      this.getList()
+    },
+  },
   computed: {
     ...mapGetters(['webSocket', 'userinfo']),
     importType() {