Explorar o código

修改报告转pdf宽度

hongze hai 7 meses
pai
achega
0b99750a5f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/smart_report.go

+ 1 - 1
services/smart_report.go

@@ -162,7 +162,7 @@ async def main():
     await asyncio.sleep(15)
 
     await page.pdf({
-		'width': "%spx",
+		'width': %d,
         'path': "%s",
         'printBackground': True,
         'margin': {