Ver Fonte

台账提示

liuyc há 8 meses atrás
pai
commit
54488415aa
1 ficheiros alterados com 2 adições e 1 exclusões
  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)
     }
 }