Window.print () has a horizontal scroll bar. I don't know why. Does anyone know?

as shown in the figure:

:

my css code is as follows:

@media print{
  .noprint{
    display:none;
  }
  -sharpmyPrint{
    display: block!important;
  }
  @page { size:  landscape; }
}

that is, I added an id attribute of myPrint to the table.

Aug.21,2021
After

, I figured out the problem with the table component style of iview. I have written a table, by myself. Is there any other better solution?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b42907-2c64f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b42907-2c64f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?