jwyu 9 hónapja
szülő
commit
20974c2b8b

+ 2 - 1
src/views/system/userList/components/MoveUserDepart.vue

@@ -16,12 +16,13 @@ async function getDepartList() {
   const list = res.Data.List || []
   departArr.value = list
 }
-getDepartList()
+
 
 const depart = ref('')
 watch(() => show.value, (newval) => {
   if (newval) {
     depart.value = props.data.SysDepartmentId || ''
+    getDepartList()
   }
 })