When vue uses elementUI, to customize the scroll bar, there is a gap between the table fixed column and the scroll bar, how to solve it?

when vue uses elementUI, to customize the scroll bar, there is a gap between the table fixed column and the scroll bar.
just started to directly override the "el-table__fixed" attribute of table to remove the gap, but the interface is dynamically adapted, that is, the height is not fixed, how to solve it?
clipboard.png


in fact, you only need to overwrite the style to fix it


mounted

mounted() {
  window.onresize = () => {
    return (() => {
      window.screenWidth = document.body.clientWidth
      this.tableHeight = window.innerHeight - 165
      if (this.widowHeight !== window.innerHeight) {
        this.handleSuitTableHigh()
      }
    })()
  }
  setTimeout(() => {
    this.handleSuitTableHigh()
  }, 1000)
}
// table
  handleSuitTableHigh() {
    this.widowHeight = window.innerHeight
    const tables = document.getElementsByClassName('el-table__fixed')
    for (const item of tables) {
      setTimeout(() => {
        item.style.height = parseInt(item.style.height) + 7 + 'px'
      }, 100)
      const wrappers = item.getElementsByClassName('el-table__fixed-body-wrapper')
      for (const wrap of wrappers) {
        setTimeout(() => {
          wrap.style.height = parseInt(wrap.style.height) + 7 + 'px'
        }, 100)
      }
    }
  },
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-1e9f7c5-1a62.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-1e9f7c5-1a62.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?