duy преди 1 година
родител
ревизия
08dc3ef638
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      src/views/project/debit/contract/unit.vue
  2. 1 0
      src/views/project/debit/project/unit.vue

+ 1 - 0
src/views/project/debit/contract/unit.vue

@@ -149,6 +149,7 @@ const ishowTree = ref(true)
 //重新设置树
 const setLoading = ref(false)
 const setTree = async () => {
+    setLoading.value = true
     const { error, code, msg } = await unitApi.refresh({
         projectId: projectId.value,
         contractId: contractId.value,

+ 1 - 0
src/views/project/debit/project/unit.vue

@@ -167,6 +167,7 @@ const ishowTree = ref(true)
 //重新设置树
 const setLoading = ref(false)
 const setTree = async ()=>{
+    setLoading.value = true
     const { error, code, msg } = await unitApi.refresh({
         projectId: projectId.value,
     })