fix Dashbord
This commit is contained in:
parent
2276b2022c
commit
3f02f9b53e
1 changed files with 1 additions and 1 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue