2 Commity 15d435510c ... 81bddf0198

Autor SHA1 Wiadomość Data
  liuyc 81bddf0198 Merge remote-tracking branch 'origin/master' 8 miesięcy temu
  liuyc 54488415aa 台账提示 8 miesięcy temu
1 zmienionych plików z 2 dodań i 1 usunięć
  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)
     }
 }