Problems encountered in using table controls of elementUI in vue-cli

Technical note: vue-cli+elementUI table control
Business scenario description:

1.tabletable
2.end_date
3.
4.10>;10>ago

solution:
use the row-class-name attribute in the elementUI talbe control to determine whether to include the specified field-> calculate the time interval, and finally use the time interval to determine whether to change the value in the data to achieve the purpose of controlling the star color
problem: there is an endless cycle in the rendering list, and the rowClass method has been running all the time. Ask all the great gods for advice

template

scriptdata

scriptmethods

Feb.28,2021

this is probably how it is solved. I just finished it, it's a little ugly, and then optimize it. Hey, hey,

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