From 8e8089c800fd4efb07582c400870cde23a49e2fe Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 27 Aug 2021 23:32:34 +0800
Subject: [PATCH] 考试修改

---
 src/views/dispatch/dispatchChildoperable.vue |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/views/dispatch/dispatchChildoperable.vue b/src/views/dispatch/dispatchChildoperable.vue
index 702bb90..3de8361 100644
--- a/src/views/dispatch/dispatchChildoperable.vue
+++ b/src/views/dispatch/dispatchChildoperable.vue
@@ -291,6 +291,9 @@
     ...mapState({
       userInfo: (state) => state.user.userInfo,
     }),
+    deps(){
+      return this.form.deptId;
+    }
   },
   
   methods: {
@@ -516,11 +519,14 @@
       }
     }
   },
-  //  watch: {
-  //   "form.deptId"() {
-  //     this.initData();
-  //   }
-  // },
+   watch: {
+    // "form.deptId"() {
+    //   this.initData();
+    // }
+    deps(){
+      console.log(this.deps,5646646)
+    }
+  },
   mounted() {
     this.onLoad1(this.page1, this.query1);
   },

--
Gitblit v1.9.3