src/app/routes/report/report.component.html
@@ -1,3 +1,5 @@ <!-- <input type='button' value='打印' class='notprint' onclick='javascript:window.print();' /> --> <div id ="mydiv" style="height: 300px; width: 100%"></div> <div *ngFor="let i of sensorArr"> <div id ="mydiv{{i}}" style="height: 487px; width: 1000px"></div> </div>