diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 2dfe7d1f6..12fd7a588 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -120,7 +120,7 @@ const fileOpen = (url: string, isReport: boolean, fileName: string) => { http .get(url) .then(async (res) => { - const data = res.data; + const data = res.data.result; await genReport(data, fileName, "pdf"); }) .catch((err) => {