yanghao hai 2 semanas
pai
achega
0646d349cb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/api/pms/device/index.ts

+ 1 - 1
src/api/pms/device/index.ts

@@ -207,6 +207,6 @@ export const IotDeviceApi = {
 
   // 设备报表导出
   exportDeviceReport: async (data) => {
-    return await request.download({ url: `/rq/report/export-excel`, data })
+    return await request.post({ url: `/rq/report/export-excel`, data })
   }
 }