Can you tell me how to add an event to the render-header of the element-ui header?

requirement: add a button in the header to refresh

clipboard.png

:

clipboard.png

initList
:

clipboard.png

Aug.27,2021

your this, was already lost when it was rendered. Maybe you should use the arrow function to bring this to click


on: {

            click: () => {
              this.initList();
            }
          }

on: {

click: this.initList

}

calling in this way will not report an error without parentheses

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-1b40709-4f179.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-1b40709-4f179.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?