liuyc hai 8 meses
pai
achega
54488415aa
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/ledger/components/construction.vue

+ 2 - 1
src/views/ledger/components/construction.vue

@@ -155,7 +155,7 @@ const tableConstructionData = ref([])
 const tableConstructionLoading = ref(false)
 const getTableConstructionData = async () => {
     tableConstructionLoading.value = true
-    const { error, code, data } = await constructionApi.queryConstructionPage({
+    const { error, code, data ,msg } = await constructionApi.queryConstructionPage({
         ...searchConstructionForm.value,
         projectId: projectId.value,
     })
@@ -167,6 +167,7 @@ const getTableConstructionData = async () => {
     } else {
         tableConstructionData.value = []
         searchConstructionForm.value.total = 0
+        window?.$message?.error(msg)
     }
 }